qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] AIO and savevm


From: Paul Brook
Subject: Re: [Qemu-devel] AIO and savevm
Date: Sun, 3 Sep 2006 11:49:15 +0100
User-agent: KMail/1.9.4

On Sunday 03 September 2006 11:42, Blue Swirl wrote:
> >When savevm is issued, you need to halt the guest CPUs, and wait for all
> > IO to
> >complete. While doing this you need to allow device AIO completion
> > routines to run, which may trigger additional IO. Once all IO has been
> > completed you should then be able to safely save state.
>
> How's this patch? Qemu_aio_poll waits for all AIOs and calls the device
> completion routines when each AIO finishes.

qemu_aio_poll doesn't wait. It returns immediately if IO has not completed 
yet.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]