]> xenbits.xensource.com Git - libvirt.git/commit
qemu: migration: Relax enforcement of memory hotplug support
authorPeter Krempa <pkrempa@redhat.com>
Tue, 8 Sep 2015 13:06:26 +0000 (15:06 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Sep 2015 07:39:55 +0000 (09:39 +0200)
commita98e5a78153644e0f13b34c69d60b7a866c4401a
tree2a09c09b699ad8e9528a3247f3fb8c2e28541a41
parent0f3989c1724a5f458fd5c48561fbf2470028a325
qemu: migration: Relax enforcement of memory hotplug support

If the current live definition does not have memory hotplug enabled, but
the persistent one does libvirt would reject migration if the
destination does not support memory hotplug even if the user didn't want
to persist the VM at the destination and thus the XML containing the
memory hotplug definition would not be used. To fix this corner case the
code will check for memory hotplug in the newDef only if
VIR_MIGRATE_PERSIST_DEST was used.
src/qemu/qemu_migration.c