[pve-devel] qemu numaX with cpu list not working anymore
Alexandre DERUMIER
aderumier at odiso.com
Mon Oct 10 09:22:36 CEST 2016
Looking at libvirt:
<numa>
<cell id='0' cpus='0-3,8-11' memory='109550' unit='KiB'/>
<cell id='1' cpus='4-7,12-15' memory='109550' unit='KiB'/>
</numa>
-numa node,nodeid=0,cpus=0-3,cpus=8-11,mem=107 \
-numa node,nodeid=1,cpus=4-7,cpus=12-15,mem=107 \
So, it seem that we simply need to define cpus multiple times
I'll do some tests
----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 10 Octobre 2016 08:52:56
Objet: [pve-devel] qemu numaX with cpu list not working anymore
Hi,
user report a bug with numaX: cpus=0;1;2 list.
https://forum.proxmox.com/threads/how-to-specify-numa-cpus-in-vm-conf.29694/
conf
----
numa0: cpus=0;2;4;6,hostnodes=0,memory=4096,policy=bind
qemu error
-----------
kvm: -numa node,nodeid=0,cpus=0,2,4,6,memdev=ram-node0: Invalid parameter '2'
The qemu 2.1 changelog said:
http://wiki.qemu.org/ChangeLog/2.1
"Non-contiguous host CPUs can be assigned to a single NUMA node. Commas in the CPU list have to be escaped, as in "-numa node,cpus=0-3,,4-7"
So I have tried, with double comma
but I still have errors:
kvm: -numa node,nodeid=0,cpus=0,,2,,4,,6,memdev=ram-node0: Parameter 'cpus' expects a uint64 value or range
I have also try with ";" as seperator, and I have same error.
Any idea ?
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list