]> git.proxmox.com Git - qemu-server.git/commit
Disable memory hotplugging for custom NUMA topologies
authorStefan Reiter <s.reiter@proxmox.com>
Wed, 18 Mar 2020 15:18:44 +0000 (16:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 19 Mar 2020 17:54:53 +0000 (18:54 +0100)
commit456bab54454877e67a1c37db11b20febac1cda6d
tree600eb214ecb185ae6a12d69195ca6c7b751d051b
parente8705fc59e6dad51a2bb9a7b9f8b06ea24585572
Disable memory hotplugging for custom NUMA topologies

This cannot work, since we adjust the 'memory' property of the VM config
on hotplugging, but then the user-defined NUMA topology won't match for
the next start attempt.

Check needs to happen here, since it otherwise fails early with "total
memory for NUMA nodes must be equal to vm static memory".

With this change the error message reflects what is actually happening
and doesn't allow VMs with exactly 1GB of RAM either.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Tested-by: Alwin Antreich <a.antreich@proxmox.com>
PVE/QemuServer/Memory.pm