On 07/06/13 19:27, Jason J. Herne wrote: > Latest code for cpu Hotplug designed to be controled via the QOM > infrastructure. > cpu on S390 are treated as devices via a new platform independent > infrastructure I designed to allow this "new way" to exist with the "old way" > of representing cpus. > > The Qemu command line now allows "-device s390-cpu" which will instantiate a > cpu device. This is additive to anything that might be specified on the -smp > parameter. > > Devices can be hot plugged via the monitor command "device_add s390-cpu". > Hotplugged cpus are created in the configured state and can be used by the > guest after the guest onlines the cpu by: > "echo 1 > /sys/bus/cpu/devices/cpuN/online" > > Hot unplugging is currently not implemented by this code.
Adding Viktor, Andreas. Andreas, since we are the first ones going forward with cpu is a device (on a command level) we still have to provide the old cpu_add and query commands to make libvirt work regarding cpu hotplugging. Are you ok with having the x86 commands as wrappers around the new ones? Christian