]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: don't overwrite error message in qemuDomainAttachNetDevice
authorKaterina Koukiou <kkoukiou@redhat.com>
Fri, 13 Jul 2018 15:01:44 +0000 (17:01 +0200)
committerKaterina Koukiou <kkoukiou@redhat.com>
Mon, 16 Jul 2018 08:41:44 +0000 (10:41 +0200)
commitf7b55665cc6b805bc4c34e1ec5908df31084ef5c
treee0e89042f9f69974f287722b4319282a9f47564c
parent19e9d92b27abe210d54e617069fc80caa2af013e
qemu: hotplug: don't overwrite error message in qemuDomainAttachNetDevice

Since commit f14c37, virDomainConfVMNWFilterTeardown is reporting errors
thus any previously reported error gets overwritten.
We need to save the errors in qemuDomainAttachNetDevice before calling
this function when we are in cleanup code.

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

Signed-off-by: Katerina Koukiou <kkoukiou@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_hotplug.c