[libvirt] [PATCH v2 5/5] qemu: Use error from Finish instead of "unexpectedly failed"

Peter Krempa pkrempa at redhat.com
Fri Jul 10 09:45:14 UTC 2015


On Fri, Jul 10, 2015 at 11:26:18 +0200, Jiri Denemark wrote:
> 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. However, the Finish API called on
> the destination may report a real error so let's use it instead of the
> generic one.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> 
> Notes:
>     Version 2:
>     - cleaner control flow
>     - more comments
> 
>  src/libvirt-domain.c      | 30 ++++++++++++++++++++++++++++--
>  src/qemu/qemu_migration.c | 39 +++++++++++++++++++++++++++++++++++++--
>  2 files changed, 65 insertions(+), 4 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/6a5c1e61/attachment-0001.sig>


More information about the libvir-list mailing list