From: "Jason J. Herne" <jjhe...@us.ibm.com> Improvements and modifications to cpu initialization and the qom cpu model were required to implement hotplug.
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 unplug is not currently implemented. Jason J. Herne (4): s390: Storage key global access s390-cpu: ipi_states enhancements s390-cpu: s390 cpu init improvements for hotplug s390-hotplug: Implement hot_add_cpu hook hw/s390x/s390-virtio-ccw.c | 4 ++-- hw/s390x/s390-virtio.c | 37 +++++++++++++++++++++---------------- hw/s390x/s390-virtio.h | 2 +- target-s390x/cpu.c | 43 +++++++++++++++++++++++++++++++++++++++++-- target-s390x/cpu.h | 6 ++++++ 5 files changed, 71 insertions(+), 21 deletions(-) -- 1.8.3.2