I tried to make CPU affinity to work on my VM, but I can't.
This is my configure for my vm:
This is my host CPU topology:
When I start my VM , it showed me bellow error:
What's wrong on my configuration ? anyone can help ?
This is my configure for my vm:
Code:
root@pve:/etc/pve/qemu-server# cat 600.conf
agent: 1
boot: order=scsi0;net0
cores: 4
hotplug: disk,network,usb
machine: pc-i440fx-6.0
memory: 4096
name: win10-1
net0: virtio=5A:DD:1C:E8:A3:85,bridge=vmbr0,firewall=1
numa: 1
numa1: cpus=6-9,hostnodes=1,memory=4096,policy=bind
ostype: win10
scsi0: vms:vm-600-disk-0,size=60G
scsihw: virtio-scsi-pci
smbios1: uuid=6177b506-9db7-455f-9beb-3e382c3c152a
sockets: 1
vmgenid: 0e72f937-4e16-4fd8-80a3-4de7c70c3201
This is my host CPU topology:
Code:
root@pve:/etc/pve/qemu-server# numactl --hardware
available: 2 nodes (0-1)
node 0 cpus: 0 1 2 3 4 5 12 13 14 15 16 17
node 0 size: 32169 MB
node 0 free: 22073 MB
node 1 cpus: 6 7 8 9 10 11 18 19 20 21 22 23
node 1 size: 32218 MB
node 1 free: 24006 MB
node distances:
node 0 1
0: 10 20
1: 20 10
When I start my VM , it showed me bellow error:
Code:
kvm: -numa node,nodeid=1,cpus=6-9,memdev=ram-node1: CPU index (6) should be smaller than maxcpus (4)
TASK ERROR: start failed: QEMU exited with code 1
What's wrong on my configuration ? anyone can help ?