]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2argvdata: Extend vCPUs placement in memory-hotplug-dimm-addr.xml
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 7 Mar 2023 14:36:47 +0000 (15:36 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Mar 2023 11:46:33 +0000 (12:46 +0100)
So far, the memory-hotplug-dimm-addr.xml test case pins its vCPUs
onto CPUs 0-1 which correspond to NUMA node #0 (per
tests/vircaps2xmldata/linux-basic/system/node/node0). Place vCPUs
onto nodes #1 and #2 too so that DIMM <memory/> device can
continue using thread-context after future patches. This
configuration, as-is currently, would make QEMU error out anyway.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/qemuxml2argvdata/memory-hotplug-dimm-addr.xml
tests/qemuxml2xmloutdata/memory-hotplug-dimm-addr.x86_64-latest.xml

index 92ea679bbe74945e69b55215c11f1d9d2307ea7a..47486dda0c6a4bd01c4cf75ea6fb45fc6e971d20 100644 (file)
@@ -4,7 +4,7 @@
   <maxMemory slots='16' unit='KiB'>1099511627776</maxMemory>
   <memory unit='KiB'>7434230</memory>
   <currentMemory unit='KiB'>7434230</currentMemory>
-  <vcpu placement='static' cpuset='0-1'>2</vcpu>
+  <vcpu placement='static' cpuset='0-1,4-5,9'>2</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
     <boot dev='hd'/>
index ef671fcfa38293dd7a783ba427240249461ac3a6..0a32d5491abde6d189e9d2c96d3be6e90c56531d 100644 (file)
@@ -4,7 +4,7 @@
   <maxMemory slots='16' unit='KiB'>1099511627776</maxMemory>
   <memory unit='KiB'>7434230</memory>
   <currentMemory unit='KiB'>7434230</currentMemory>
-  <vcpu placement='static' cpuset='0-1'>2</vcpu>
+  <vcpu placement='static' cpuset='0-1,4-5,9'>2</vcpu>
   <os>
     <type arch='i686' machine='pc'>hvm</type>
     <boot dev='hd'/>