[libvirt] [PATCH v2 3/5] qemu: Remember incoming migration errors

Peter Krempa pkrempa at redhat.com
Fri Jul 10 09:41:02 UTC 2015


On Fri, Jul 10, 2015 at 11:26:16 +0200, Jiri Denemark wrote:
> If QEMU fails during incoming migration, the domain disappears including
> a possibly useful error message read from QEMU log file. Let's remember
> the error in virQEMUDriver so that Finish can report more than just "no
> such domain".
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> 
> Notes:
>     Version 2:
>     - s/virHashLockable/virHashAtomic/
>     - use virErrorCopyNew
>     - more comments
> 
>  src/qemu/qemu_conf.h      |  3 +++
>  src/qemu/qemu_driver.c    | 31 ++++++++++++++++++-------
>  src/qemu/qemu_migration.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++-
>  src/qemu/qemu_migration.h |  7 ++++++
>  src/qemu/qemu_monitor.c   | 14 +++++++++++
>  src/qemu/qemu_monitor.h   |  2 ++
>  src/qemu/qemu_process.c   |  4 ++++
>  7 files changed, 111 insertions(+), 9 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150710/be31b886/attachment-0001.sig>


More information about the libvir-list mailing list