[libvirt] [PATCH 0/2] qemu: Remove stale transient def when migration fails

Jiri Denemark jdenemar at redhat.com
Thu Sep 8 14:21:02 UTC 2016


If a migration of a domain which is already defined on the destination
host failed early (before we tried to start QEMU), we would forget to
remove the incoming transient definition. Later on when someone starts
the domain on the destination host, we will use the stale incoming
definition and the persistent definition will just be ignored.

https://bugzilla.redhat.com/show_bug.cgi?id=1368774

Jiri Denemark (2):
  Add helper for removing transient definition
  qemu: Remove stale transient def when migration fails

 src/conf/domain_conf.c    | 19 +++++++++++++++++++
 src/conf/domain_conf.h    |  1 +
 src/libvirt_private.syms  |  1 +
 src/libxl/libxl_domain.c  |  8 +-------
 src/lxc/lxc_process.c     |  7 +------
 src/qemu/qemu_migration.c |  4 ++++
 src/qemu/qemu_process.c   |  7 +------
 src/test/test_driver.c    |  9 ++-------
 src/uml/uml_driver.c      | 14 ++------------
 9 files changed, 32 insertions(+), 38 deletions(-)

-- 
2.10.0




More information about the libvir-list mailing list