]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix checking of guest ABI compatibility when reverting snapshots
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Sep 2013 09:37:57 +0000 (11:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 12 Sep 2013 13:11:38 +0000 (15:11 +0200)
commit53c39f5837a6eed543465a7a55690786d0655ad0
tree3ecd21d9b842ec6ec6c20308cf7655cbee8c9959
parent822fe1367dd55e3de7c3c044ee02fd733ab3415a
qemu: Fix checking of guest ABI compatibility when reverting snapshots

When reverting a live internal snapshot with a live guest the ABI
compatiblity check was comparing a "migratable" definition with a normal
one. This resulted in the check failing with:

revert requires force: Target device address type none does not match source pci

This patch generates a "migratable" definition from the actual one to
check against the definition from the snapshot to avoid this problem.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1006886
src/qemu/qemu_driver.c