diff options
author | 2015-09-24 08:56:12 +0800 | |
---|---|---|
committer | 2015-09-24 08:56:12 +0800 | |
commit | 738df5b97312bb61617669250ce67073108de070 (patch) | |
tree | 85e999c2f3d38ccf9d045b7de89a42f99a15a74b /qemu/migration/block.c | |
parent | cc84a1f21026270463b580f2564f9d71912b20db (diff) |
migration: do cleanup operation after completion
Because of the patch 3ea3b7fa9af067982f34b of kvm, now the migration_end()
is a time consuming operation, which takes about dozens of milliseconds, and
will prolong VM downtime. Such an operation should be done after migration
completion.
For a VM with 8G RAM, this patch can reduce the VM downtime about 32 ms during
live migration.
Change-Id: Iddd10bd5a2b1bf52cce36253f303fc458da343cd
Signed-off-by: Liang Li <liang.z.li@intel.com>
Diffstat (limited to 'qemu/migration/block.c')
-rw-r--r-- | qemu/migration/block.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu/migration/block.c b/qemu/migration/block.c index ed865ed23..85496fd80 100644 --- a/qemu/migration/block.c +++ b/qemu/migration/block.c @@ -750,7 +750,6 @@ static int block_save_complete(QEMUFile *f, void *opaque) qemu_put_be64(f, BLK_MIG_FLAG_EOS); - blk_mig_cleanup(); return 0; } |