[pve-devel] Fwd: [Qemu-stable] [v2 0/4] Fix long vm downtime during live migration

Stefan Priebe s.priebe at profihost.ag
Wed Aug 19 19:54:57 CEST 2015


I think the patchset below is something we should include in PVE?

Stefan


-------- Weitergeleitete Nachricht --------
Betreff: [Qemu-stable] [v2 0/4] Fix long vm downtime during live migration
Datum: Thu, 13 Aug 2015 13:46:32 +0800
Von: Liang Li <liang.z.li at intel.com>
An: qemu-devel at nongnu.org
Kopie (CC): qemu-block at nongnu.org, quintela at redhat.com, Liang Li 
<liang.z.li at intel.com>, qemu-stable at nongnu.org, yong.y.wang at intel.com, 
yang.z.zhang at intel.com, stefanha at redhat.com, amit.shah at redhat.com

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







More information about the pve-devel mailing list