Hotplug CPU

Arcanes06

New Member
Nov 6, 2017
5
0
1
33
Hi all,

Im' working on PVE 5.1 and i get some issues with cpu hotplugging.
I added /lib/udev/rules.d/80-hotplug-mem.rules and /lib/udev/rules.d/80-hotplug-cpu.rules file config on the node
I also modified vm config file to get this:

numa: 1
hotplug: disk,network,usb,memory,cpu
...

When i hotplug cores, sockets or vcpus on the vm config file, it appears in the VM's "hardware" tab on the GUI
But it doesn't changes anything on the VM itself (for example, when i do a "nproc" or "lscpu" it doesn't make a change)

Can you please help me?



Thanks
 
hotplugping is on vcpus.

you define cores*sockets,which is the topology and maximum vcpus you can hotplug.
then you should be able to hotplug/unplug vcpus.

the 80-hotplug-mem.rules need to be in the guest vm.