[pve-devel] RFC : qemu-server : add cpu_hotplug
Alexandre Derumier
aderumier at odiso.com
Mon Jan 6 17:56:46 CET 2014
Theses patches are cpu_hotplug feature.
unplug is not yet available in current qemu.
This introduce a new "maxcpus" config value.
If maxcpus is defined, sockets should be set to 1, as we can only hotplug 1cpu/core step by step, up to maxcpus value.
Tested under debian with kernel 3.2.
cpu need to be enabled after hotplug in guest with "echo 1 > /sys/devices/system/cpu/cpuX/online".
(I'm not sure,but maybe this could be done auto with qemu-ga)
More information about the pve-devel
mailing list