summaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-11-22 19:52:26 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-12-09 12:47:48 +0200
commiteff06c40d330cdbea414331337ca6f5032dbf6d7 (patch)
tree9eb5bdab8f011ba0e70da12373e08e0241c89029 /migration.c
parent55df6f33655ed4139c824aa3ab9a4ab0c19dca83 (diff)
migration/savevm: no need to flush requests
There's no need to flush requests after vmstop as vmstop does it for us automatically now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/migration.c b/migration.c
index 622a9d2d95..e5ba51c314 100644
--- a/migration.c
+++ b/migration.c
@@ -370,8 +370,6 @@ void migrate_fd_put_ready(void *opaque)
DPRINTF("done iterating\n");
vm_stop(0);
- qemu_aio_flush();
- bdrv_flush_all();
if ((qemu_savevm_state_complete(s->mon, s->file)) < 0) {
if (old_vm_running) {
vm_start();