]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Align memory sizes only on fresh starts
authorPeter Krempa <pkrempa@redhat.com>
Thu, 17 Sep 2015 06:14:05 +0000 (08:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 22 Sep 2015 14:09:28 +0000 (16:09 +0200)
commitc7d7ba85a6242d789ba3f4dae313e950fbb638c5
tree0ad776f7a601bc8ea898a3f64e71c6187e1a7c56
parent0fed5a7bc79865fe00fd5a328a2e520934c52ff7
qemu: command: Align memory sizes only on fresh starts

When we are starting a qemu process for an incomming migration or
snapshot reloading we should not modify the memory sizes in the domain
since we could potentially change the guest ABI that was tediously
checked before. Additionally the function now updates the initial memory
size according to the NUMA node size, which should not happen if we are
restoring state.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1252685
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-restore-v1.args