]> xenbits.xensource.com Git - 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)
committerJán Tomko <jtomko@redhat.com>
Thu, 13 Jun 2013 14:58:30 +0000 (16:58 +0200)
commit07966f6a8b5ccb5bb4c716b25deb8ba2e572cc67
tree5dec842da523fc4806a86efd8392f7c7830bcea8
parentf2eaef3f0e4181f7528d946e97927d342be73942
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
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c