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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to