From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsf8T-0006Io-QZ for qemu-devel@nongnu.org; Mon, 16 Dec 2013 15:51:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsf8K-0002tT-Rp for qemu-devel@nongnu.org; Mon, 16 Dec 2013 15:51:29 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:38562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsf8K-0002tE-KN for qemu-devel@nongnu.org; Mon, 16 Dec 2013 15:51:20 -0500 Received: from /spool/local by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Dec 2013 13:51:19 -0700 Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 1789A1FF001B for ; Mon, 16 Dec 2013 13:50:52 -0700 (MST) Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by b03cxnp08026.gho.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rBGKpEmu11272596 for ; Mon, 16 Dec 2013 21:51:14 +0100 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id rBGKsJdi003599 for ; Mon, 16 Dec 2013 13:54:20 -0700 From: Matthew Rosato Date: Mon, 16 Dec 2013 15:51:07 -0500 Message-Id: <1387227072-21965-1-git-send-email-mjrosato@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/5] s390: Support for Hotplug of Standby Memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: gleb@redhat.com, agraf@suse.de, borntraeger@de.ibm.com, aliguori@amazon.com, cornelia.huck@de.ibm.com, pbonzini@redhat.com, rth@twiddle.net This patchset adds support in s390 for a pool of standby memory, which can be set online/offline by the guest (ie, via chmem). A new option, "standby-mem={size}", is added to the QEMU command line machine parameter to specify the size of standby memory for the guest. As part of this work, additional results are provided for the Read SCP Information SCLP, and new implentation is added for the Read Storage Element Information, Attach Storage Element, Assign Storage and Unassign Storage SCLPs, which enables the s390 guest to manipulate the standby memory pool. This patchset is based on work originally done by Jeng-Fang (Nick) Wang. Matthew Rosato (5): Add the standby-mem machine option virtio-ccw: Include standby memory when calculating storage increment target-s390: Check for standby memory specification sclp-s390: Define new SCLP codes and structures sclp-s390: Add memory hotplug SCLPs hw/s390x/s390-virtio-ccw.c | 30 +++++- hw/s390x/sclp.c | 235 ++++++++++++++++++++++++++++++++++++++++++-- include/hw/s390x/sclp.h | 48 +++++++++ qemu-options.hx | 6 +- target-s390x/cpu.h | 4 + target-s390x/kvm.c | 16 +++ vl.c | 6 ++ 7 files changed, 332 insertions(+), 13 deletions(-) -- 1.7.9.5