Re: [Qemu-devel] Pending Disk I/O requests during live VM migration

2007-10-11 Thread Kaushik Bhandankar
In ioemu/vl.c: do_savevm(), before saving the current VM state for live VM migration (qemu_savevm_state()), it calls qemu_aio_flush() in ioemu/block-raw.c. Now qemu_aio_flush() internally calls qemu_aio_poll() where we loop through the linked list of RawAIOCB structures and remove the request

Re: [Qemu-devel] Pending Disk I/O requests during live VM migration

2007-10-04 Thread Blue Swirl
On 10/4/07, Kaushik Bhandankar <[EMAIL PROTECTED]> wrote: > 1) I guess the IDE disk code is in ioemu/hw/ide.c. But where is the IDE > disk controller code located ?? Same file, see ide_ioport_write(). > 2) I do not really understand BMDMA in ioemu/hw/ide.c. google doesnt > seem to be helping much

Re: [Qemu-devel] Pending Disk I/O requests during live VM migration

2007-10-04 Thread Kaushik Bhandankar
Blue Swirl wrote: On 10/4/07, Kaushik Bhandankar <[EMAIL PROTECTED]> wrote: I am trying to implement functionality in fully-virtualized xen wherein the responses to the pending disk I/O requests during live VM migration get trasnsferred to the new VMM form the old VMM. Specifically, I am look

Re: [Qemu-devel] Pending Disk I/O requests during live VM migration

2007-10-04 Thread Blue Swirl
On 10/4/07, Kaushik Bhandankar <[EMAIL PROTECTED]> wrote: > I am trying to implement functionality in fully-virtualized xen wherein > the responses to the pending disk I/O requests during live VM migration > get trasnsferred to the new VMM form the old VMM. Specifically, I am > looking at IDE disk

[Qemu-devel] Pending Disk I/O requests during live VM migration

2007-10-04 Thread Kaushik Bhandankar
Hello I am trying to implement functionality in fully-virtualized xen wherein the responses to the pending disk I/O requests during live VM migration get trasnsferred to the new VMM form the old VMM. Specifically, I am looking at IDE disk (tools/ioemu/hw/ide.c) Basically, ide.c:pci_ide_save(