]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: allow restore with non-migratable XML input
authorJán Tomko <jtomko@redhat.com>
Tue, 11 Jun 2013 13:03:17 +0000 (15:03 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 11 Jul 2013 21:47:39 +0000 (17:47 -0400)
commit0943603d9ef341d8eda2ac40214875cdca61c6f3
tree93821a2f7bd0bde07330e00f78e464342ed35782
parentca305a756d467de09bc51608800e089ced0cca55
qemu: allow restore with non-migratable XML input

Convert input XML to migratable before using it in
qemuDomainSaveImageOpen.

XML in the save image is migratable, i.e. doesn't contain implicit
controllers. If these controllers were in a non-default order in the
input XML, the ABI check would fail. Removing and re-adding these
controllers fixes it.

https://bugzilla.redhat.com/show_bug.cgi?id=834196
(cherry picked from commit 07966f6a8b5ccb5bb4c716b25deb8ba2e572cc67)
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c