Received: from eggs.gnu.org ([2001:4830:134:3::10]:37902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0S7w-0003pB-Pc for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0S7q-0003bI-K1 for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:07:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0S7q-0003b4-Cp for qemu-devel@nongnu.org; Fri, 27 Jun 2014 05:07:18 -0400 Date: Fri, 27 Jun 2014 11:07:05 +0200 From: Igor Mammedov Message-ID: <20140627110705.00256804@nial.usersys.redhat.com> In-Reply-To: <1403706420-20109-1-git-send-email-mjrosato@linux.vnet.ibm.com> References: <1403706420-20109-1-git-send-email-mjrosato@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 0/3] s390: Support for Hotplug of Standby Memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Matthew Rosato Cc: qemu-devel@nongnu.org, agraf@suse.de, borntraeger@de.ibm.com, aliguori@amazon.com, cornelia.huck@de.ibm.com, pbonzini@redhat.com, rth@twiddle.net On Wed, 25 Jun 2014 10:26:57 -0400 Matthew Rosato wrote: > This patchset adds support in s390 for a pool of standby memory, > which can be set online/offline by the guest (ie, via chmem). > The standby pool of memory is allocated as the difference between > the initial memory setting and the maxmem setting. > 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. Could you add short description how to test it, please. > > Changes for v5: > * Since ACPI memory hotplug is now in, removed Igor's patches > from this set. > * Updated sclp.c to use object_resolve_path() instead of > object_property_find(). > > Changes for v4: > * Remove initialization code from get_sclp_memory_hotplug_dev() > and place in its own function, init_sclp_memory_hotplug_dev(). > * Add hit to qemu-options.hx to note the fact that the memory > size specified via -m might be forced to a boundary. > * Account for the legacy s390 machine, which does not support > memory hotplug. > * Fix a bug in sclp.c - Change memory hotplug device parent to > sysbus. > * Pulled latest version of Igor's patch. > > Matthew Rosato (3): > sclp-s390: Add device to manage s390 memory hotplug > virtio-ccw: Include standby memory when calculating storage increment > sclp-s390: Add memory hotplug SCLPs > > hw/s390x/s390-virtio-ccw.c | 46 +++++-- > hw/s390x/sclp.c | 289 +++++++++++++++++++++++++++++++++++++++++++- > include/hw/s390x/sclp.h | 20 +++ > qemu-options.hx | 3 +- > target-s390x/cpu.h | 18 +++ > target-s390x/kvm.c | 5 + > 6 files changed, 366 insertions(+), 15 deletions(-) >