Merge remote-tracking branch 'kwolf/for-anthony' into staging

This commit is contained in:
Anthony Liguori 2011-12-05 09:39:25 -06:00
commit eb5d5beaeb
40 changed files with 1333 additions and 347 deletions

View file

@ -1853,9 +1853,9 @@ int main(int argc, char **argv)
command_loop();
/*
* Make sure all outstanding requests get flushed the program exits.
* Make sure all outstanding requests complete before the program exits.
*/
qemu_aio_flush();
bdrv_drain_all();
if (bs) {
bdrv_delete(bs);