|
From: | Blue Swirl |
Subject: | Re: [Qemu-devel] AIO and savevm |
Date: | Sun, 03 Sep 2006 12:42:43 +0200 |
When savevm is issued, you need to halt the guest CPUs, and wait for all IO tocomplete. 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.
_________________________________________________________________Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
aio_flush.diff
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |