Some cleanup operations take long time during the pause and copy stage, especially with the KVM patch 3ea3b7fa9af067, do these operations after the completion of live migration can help to reduce VM downtime.
Ony the first patch changes the behavior, the rest 3 patches are for code cleanup. Changes: * Remove qemu_savevm_sate_cancel() in migrate_fd_cleanup() * Add 2 more patches for code clean up Liang Li (4): migration: do cleanup operation after completion migration: rename qemu_savevm_state_cancel migration: rename cancel to cleanup in SaveVMHandles migration: code clean up include/migration/vmstate.h | 2 +- include/sysemu/sysemu.h | 2 +- migration/block.c | 10 ++-------- migration/migration.c | 14 +++++++------- migration/ram.c | 10 ++-------- migration/savevm.c | 10 +++++----- trace-events | 2 +- 7 files changed, 19 insertions(+), 31 deletions(-) -- 1.9.1