qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Pending Disk I/O requests during live VM migration
Date: Thu, 4 Oct 2007 20:05:03 +0300	[thread overview]
Message-ID: <f43fc5580710041005m44e1f52fraf26bd0a58410629@mail.gmail.com> (raw)
In-Reply-To: <47051824.1080607@cc.gatech.edu>

On 10/4/07, Kaushik Bhandankar <kaushikb@cc.gatech.edu> 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.

  reply	other threads:[~2007-10-04 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04 16:01 [Qemu-devel] Pending Disk I/O requests during live VM migration Kaushik Bhandankar
2007-10-04 16:30 ` Blue Swirl
2007-10-04 16:43   ` Kaushik Bhandankar
2007-10-04 17:05     ` Blue Swirl [this message]
2007-10-11 22:00       ` Kaushik Bhandankar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f43fc5580710041005m44e1f52fraf26bd0a58410629@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).