]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Reject migration with memory-hotplug if destination doesn't support it
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jul 2015 13:27:07 +0000 (15:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jul 2015 14:44:02 +0000 (16:44 +0200)
commit136f3de4112c75af0b38fc1946f44e3658ed1890
tree370a75e2b378893f6ae7a5eff53a27a02fe7809a
parente5e8406e9c03fb8bd2325085de698a01e8b398a9
qemu: Reject migration with memory-hotplug if destination doesn't support it

If destination libvirt doesn't support memory hotplug since all the
support was introduced by adding new elements the destination would
attempt to start qemu with an invalid configuration. The worse part is
that qemu might hang in such situation.

Fix this by sending a required migration feature called 'memory-hotplug'
to the destination. If the destination doesn't recognize it it will fail
the migration.

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