]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Forbid setting maximum memory size with the API with NUMA enabled
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 Feb 2015 15:53:25 +0000 (16:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 2 Mar 2015 15:41:32 +0000 (16:41 +0100)
commit389634e6670a8cc2eea1c2886bcc65b248d92fad
tree1cea52b5cf14647d5de6c80aacb5b6d5afd81465
parent812a9e5e66397d8e040097e1d1ab49ee1e1049ce
qemu: Forbid setting maximum memory size with the API with NUMA enabled

NUMA enabled guest configuration explicitly specifies memory sizes for
individual nodes. Allowing the virDomainSetMemoryFlags API (and friends)
to change the total doesn't make sense as the individual node configs
are not updated in that case.

Forbid use of the API in case NUMA is specified.
src/qemu/qemu_driver.c
tools/virsh.pod