2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 11:00:07 +00:00
xcat-dep/kvm/qemu-kvm-0.10.5-flush-aio-on-migration.patch

12 lines
466 B
Diff
Raw Normal View History

diff -urN qemu-kvm-0.10.5/migration.c qemu-kvm-0.10.5-flush-aio-on-migration/migration.c
--- qemu-kvm-0.10.5/migration.c 2009-05-21 05:05:19.000000000 -0400
+++ qemu-kvm-0.10.5-flush-aio-on-migration/migration.c 2009-07-08 11:53:42.000000000 -0400
@@ -216,6 +216,7 @@
dprintf("done iterating\n");
vm_stop(0);
+ qemu_aio_flush();
bdrv_flush_all();
if ((qemu_savevm_state_complete(s->file)) < 0) {
vm_start();