]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainSaveImageUpdateDef: Don't overwrite errors from virDomainDefCheckABIStability
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Mar 2017 09:45:31 +0000 (10:45 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Mar 2017 09:09:15 +0000 (10:09 +0100)
commitb3388de7f26e6e62a3cf67a12481fdfbf16fc5e4
tree6e0b7d77ae720eb72b4ec17f69e751b106a2ae2b
parent9d60ea31dd1233756128768cf77b21b7c647d85d
qemuDomainSaveImageUpdateDef: Don't overwrite errors from virDomainDefCheckABIStability

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

When we are restoring a domain from a saved image, or just
updating its XML in the saved image - we have to make sure that
the ABI guests sees will not change. We have a function for that
which reports errors. But for some reason if this function fails,
we call it again with slightly different argument. Therefore it
might happen that we overwrite the original error and leave user
with less helpful one.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c