This is the final version of QEMU support for migrating paused VMs.
The patch series is the same as what I posted on Nov 25, except for
the check on the return value of virDomainGetInfo.
Patch 2 also had some easily-solved conflicts upon rebasing.
I haven't yet implemented an error message when inactive domains
are migrated; I'll do so in a follow-up patch.
Paolo
include/libvirt/libvirt.h.in | 1 +
src/libvirt.c | 15 ++++++++++++++-
src/qemu/qemu_driver.c | 37 ++++++++++++++++++++++++-------------
src/xen/xend_internal.c | 9 +++++++++
tools/virsh.c | 5 ++++-
tools/virsh.pod | 7 ++++---
6 files changed, 56 insertions(+), 18 deletions(-)
Paolo Bonzini (3):
fix migration of paused vms upon failure
add virsh --suspend
retrieve paused/running state at the beginning of migration