All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Matthew Rosato <mjrosato@linux.vnet.ibm.com>, qemu-devel@nongnu.org
Cc: agraf@suse.de, aliguori@amazon.com, imammedo@redhat.com,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	pbonzini@redhat.com, rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH v3 0/4] s390: Support for Hotplug of Standby Memory
Date: Mon, 12 May 2014 09:46:27 +0200	[thread overview]
Message-ID: <53707C53.5030001@de.ibm.com> (raw)
In-Reply-To: <1399485959-15579-1-git-send-email-mjrosato@linux.vnet.ibm.com>

On 07/05/14 20:05, 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).
> New options, maxmem and slots, are added to the QEMU command line
> memory parameter to specify the total amount of memory available 
> to the guest as well as the number of memory slots available.
> 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.
> 
> Changes for v3:
>  * Remove some patches shared with ACPI memory hotplug that are now
>    applied to master
>  * Fix in sclp.h to avoid compiler error for s390x-linux-user mode
>  * Fix in s390-virtio-ccw.c to avoid checking the value of 
>    mhd->increment_size before it's been set with a meaningful
>    value. 
>  * Add MAX_STORAGE_INCREMENTS
> 
> Changes for v2:
>  * Removed the patch that introduced the standby-mem operand and 
>    instead included Igor Mammedov's patches that add the mem-opts 
>    'maxmem' and 'slots', with a slight modification due to the removal 
>    of qemu_opts_create_nofail.
>  * Patch 3 was inserted to add a new qom object that encapsulate variables 
>    used by s390 memory hotplug.  Patches 4 and 5 adjusted to use this 
>    object.
>  * Added additional code comments and other minor changes per Alexander 
>    Graf's comments
> 
> Igor Mammedov (1):
>   vl.c: extend -m option to support options for memory hotplug
> 
> 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 |   44 +++++--
>  hw/s390x/sclp.c            |  277 ++++++++++++++++++++++++++++++++++++++++++--
>  include/hw/boards.h        |    2 +
>  include/hw/s390x/sclp.h    |   19 +++
>  qemu-options.hx            |    9 +-
>  target-s390x/cpu.h         |   18 +++
>  target-s390x/kvm.c         |    5 +
>  vl.c                       |   51 ++++++++
>  8 files changed, 407 insertions(+), 18 deletions(-)
> 

I think the patch set is shaping up quite well. two things:
1. I had some small comments to the patches, please have a look
2. Igor, what are your plans on pushing the first patch (and implement hotplug for x86) Could you push patch1 independently from the other patches?

      parent reply	other threads:[~2014-05-12  7:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 18:05 [Qemu-devel] [PATCH v3 0/4] s390: Support for Hotplug of Standby Memory Matthew Rosato
2014-05-07 18:05 ` [Qemu-devel] [PATCH v3 1/4] vl.c: extend -m option to support options for memory hotplug Matthew Rosato
2014-05-07 18:50   ` Alexander Graf
2014-05-07 19:00     ` Matthew Rosato
2014-05-08  8:43       ` Alexander Graf
2014-05-09 12:35   ` Christian Borntraeger
2014-05-15 13:53     ` Igor Mammedov
2014-05-07 18:05 ` [Qemu-devel] [PATCH v3 2/4] sclp-s390: Add device to manage s390 " Matthew Rosato
2014-05-07 18:05 ` [Qemu-devel] [PATCH v3 3/4] virtio-ccw: Include standby memory when calculating storage increment Matthew Rosato
2014-05-12  7:43   ` Christian Borntraeger
2014-05-13 13:16     ` Matthew Rosato
2014-05-13 13:43       ` Alexander Graf
2014-05-13 14:04         ` Matthew Rosato
2014-05-07 18:05 ` [Qemu-devel] [PATCH v3 4/4] sclp-s390: Add memory hotplug SCLPs Matthew Rosato
2014-05-12  7:35   ` Christian Borntraeger
2014-05-13 18:02     ` Matthew Rosato
2014-05-15 12:06       ` Christian Borntraeger
2014-05-12  7:46 ` Christian Borntraeger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53707C53.5030001@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=agraf@suse.de \
    --cc=aliguori@amazon.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=imammedo@redhat.com \
    --cc=mjrosato@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.