mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-27 03:39:11 +00:00
12 lines
466 B
Diff
12 lines
466 B
Diff
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();
|