]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Preserve error in qemuMigrationDstFinish
authorJiri Denemark <jdenemar@redhat.com>
Tue, 10 May 2022 13:20:25 +0000 (15:20 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 7 Jun 2022 15:40:20 +0000 (17:40 +0200)
commit3865596cf920420f48498f92f3b822a931dcd520
tree297a80d9dd2b6401302f476bfb59e5aecc02ba3e
parentea08483e7da6a8e125a5113be58d364a565e2b52
qemu: Preserve error in qemuMigrationDstFinish

We want to prevent our error path that can potentially kill the domain
on the destination host from overwriting an error reported earlier, but
we were only doing so in one specific path when starting vCPUs fails.
Let's do it in all paths.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_migration.c