[PATCH 0/4] Improve migration errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When QEMU exits on destination during migration, the source reports
either success (if the failure happened at the very end) or unhelpful
"unexpectedly failed" error message, only the destination host knows
more about the error, but usually there's no way to get the error back
to the source because the domain is already gone at the time
virDomainMigrateFinish* is called.

This series changes libvirt to remember incoming migration errors so
that they can be sent back to a source host.

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

Jiri Denemark (4):
  Introduce virHashLockable
  qemu: Remember incoming migration errors
  qemu: Don't report false error from MigrateFinish
  qemu: Use error from Finish instead of "unexpectedly failed"

 include/libvirt/virterror.h |  1 +
 src/libvirt-domain.c        | 21 ++++++++++-
 src/libvirt_private.syms    |  3 ++
 src/qemu/qemu_conf.h        |  3 ++
 src/qemu/qemu_driver.c      | 31 +++++++++++----
 src/qemu/qemu_migration.c   | 91 +++++++++++++++++++++++++++++++++++++++++++--
 src/qemu/qemu_migration.h   |  7 ++++
 src/qemu/qemu_monitor.c     | 19 ++++++++++
 src/qemu/qemu_monitor.h     |  2 +
 src/qemu/qemu_process.c     |  4 ++
 src/util/virerror.c         |  3 ++
 src/util/virhash.c          | 81 ++++++++++++++++++++++++++++++++++++++++
 src/util/virhash.h          | 10 +++++
 13 files changed, 263 insertions(+), 13 deletions(-)

-- 
2.4.5

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]