>>(I'm not sure,but maybe this could be done auto with qemu-ga) I see some guy doing it with qemu-ga, but maybe it's also possible with a clean udev rule in guest.
xen is doing it with this udev rules SUBSYSTEM=="cpu",ACTION=="add",RUN+="/bin/sh -c '[ ! -e /sys$devpath/online ] || echo 1 > /sys$devpath/online'" I don't known if the event is the same for kvm cpu hotplug. ----- Mail original ----- De: "Alexandre Derumier" <aderum...@odiso.com> À: pve-devel@pve.proxmox.com Envoyé: Lundi 6 Janvier 2014 17:56:46 Objet: [pve-devel] RFC : qemu-server : add cpu_hotplug 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) _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel