]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add NUMA node automatically for memory hotplug
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 13 Jul 2023 08:10:38 +0000 (10:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Jul 2023 06:42:55 +0000 (08:42 +0200)
commitf5d4f5c8ee44e9f1939070afcc5381bdd5545e50
treeff265c4300bc6e260edb73efdcea20fe0a4cc29d
parent2d7542a8a56126fc18a19713e0e0e81085c622b6
qemu: Add NUMA node automatically for memory hotplug

Up until v2.11.0-rc2~19^2~3 QEMU used to require at least one
NUMA node to be configured when memory hotplug was enabled. After
that commit, QEMU automatically adds a NUMA node if none was
specified on the cmd line. Reflect this in domain XML, i.e.
explicitly add a NUMA node into our domain definition if needed.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2216236
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/memory-hotplug-ppc64-nonuma-abi-update.args
tests/qemuxml2xmloutdata/memory-hotplug-ppc64-nonuma-abi-update.xml