From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdU8J-0007ph-H3 for qemu-devel@nongnu.org; Thu, 04 Oct 2007 13:05:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdU8H-0007pA-PJ for qemu-devel@nongnu.org; Thu, 04 Oct 2007 13:05:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdU8H-0007p7-J3 for qemu-devel@nongnu.org; Thu, 04 Oct 2007 13:05:05 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IdU8G-00007s-L5 for qemu-devel@nongnu.org; Thu, 04 Oct 2007 13:05:05 -0400 Received: by nf-out-0910.google.com with SMTP id 30so231005nfu for ; Thu, 04 Oct 2007 10:05:03 -0700 (PDT) Message-ID: Date: Thu, 4 Oct 2007 20:05:03 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] Pending Disk I/O requests during live VM migration In-Reply-To: <47051824.1080607@cc.gatech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47050E64.5070901@cc.gatech.edu> <47051824.1080607@cc.gatech.edu> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 10/4/07, Kaushik Bhandankar 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 here. Any documentation about the QEMU IDE disks > would be greatly appreciated. No idea. > 3) vl.c:5522 seems to be not the correct code (I guess our vl.c codes > are different).. Could you point me to the routine in vl.c where the > pending disk IO requests are flushed before VM save (I guess the VM save > happens in qemu_savevm_state() in vl.c wherein it invokes all the > registered save handlers)? It's in: void do_savevm(const char *name) > 4) Somebody told me that the pending disk IO requests are stored > somewhere in quemu's I/O disk model but I am not sure exactly > where....Can somebody help me with this ? Qemu uses asynchronous IO, grepping aio or AIO should find something.