From: "Jason J. Herne" <jjhe...@us.ibm.com>

Latest code for cpu Hotplug on S390 architecture.

The last version can be found here:
http://lists.gnu.org/archive/html/qemu-devel/2013-08/msg00076.html

There is also a patch in this series to add cpu-add to the Qemu monitor
interface.

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. 

Jason J. Herne (8):
  s390-sclp: Define New SCLP Codes
  s390-sclp: SCLP CPU Info
  s390-sclp: SCLP Event integration
  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
  qemu-monitor: HMP cpu-add wrapper

 hmp-commands.hx                   |  13 +++++
 hmp.c                             |  10 ++++
 hmp.h                             |   1 +
 hw/s390x/Makefile.objs            |   1 +
 hw/s390x/event-facility.c         |   6 ++
 hw/s390x/s390-virtio-ccw.c        |   4 +-
 hw/s390x/s390-virtio.c            |  36 ++++++------
 hw/s390x/s390-virtio.h            |   2 +-
 hw/s390x/sclp.c                   |  53 ++++++++++++++++-
 hw/s390x/sclpcpu.c                | 118 ++++++++++++++++++++++++++++++++++++++
 include/hw/s390x/event-facility.h |   3 +
 include/hw/s390x/sclp.h           |  41 +++++++++++++
 target-s390x/cpu.c                |  43 +++++++++++++-
 target-s390x/cpu.h                |   6 ++
 14 files changed, 315 insertions(+), 22 deletions(-)
 create mode 100644 hw/s390x/sclpcpu.c

-- 
1.8.3.2


Reply via email to