Received: from eggs.gnu.org ([2001:4830:134:3::10]:41511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbvwO-0003AF-Ft for qemu-devel@nongnu.org; Thu, 31 Oct 2013 13:22:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbvwG-0002XL-Ol for qemu-devel@nongnu.org; Thu, 31 Oct 2013 13:21:52 -0400 Received: from e7.ny.us.ibm.com ([32.97.182.137]:36620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbvwG-0002Tn-Je for qemu-devel@nongnu.org; Thu, 31 Oct 2013 13:21:44 -0400 Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 31 Oct 2013 13:21:38 -0400 Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 15F38C90046 for ; Thu, 31 Oct 2013 13:21:35 -0400 (EDT) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by b01cxnp23032.gho.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9VHLZx357475226 for ; Thu, 31 Oct 2013 17:21:35 GMT Received: from d01av05.pok.ibm.com (localhost [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r9VHLYKA006112 for ; Thu, 31 Oct 2013 13:21:35 -0400 From: "Jason J. Herne" Date: Thu, 31 Oct 2013 13:21:26 -0400 Message-Id: <1383240094-28760-1-git-send-email-jjherne@us.ibm.com> Subject: [Qemu-devel] [PATCH 0/8 v4] s390-qemu: cpu hotplug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: afaerber@suse.de, agraf@suse.de, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, imammedo@redhat.com, qemu-devel@nongnu.org, ehabkost@redhat.com Cc: "Jason J. Herne" From: "Jason J. Herne" 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