]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Use error from Finish instead of "unexpectedly failed"
authorJiri Denemark <jdenemar@redhat.com>
Thu, 2 Jul 2015 19:46:56 +0000 (21:46 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 10 Jul 2015 09:47:13 +0000 (11:47 +0200)
commit2e7cea24355328102c40dd127329ddf47d55a3e2
tree53e6813d138c80b34fa40fc392a9948f62949d26
parent44c42b564dc61ddc8fdfc5b6ca4ca969bcffc7d8
qemu: Use error from Finish instead of "unexpectedly failed"

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@redhat.com>
src/libvirt-domain.c
src/qemu/qemu_migration.c