Re: [Qemu-devel] [RFC PATCH v2 0/2] spapr: Memory hot-unplug support

2016-05-27 Thread Michael Roth
Quoting Thomas Huth (2016-05-27 10:48:45)
>  Hi Bharata,
> 
> On 15.03.2016 05:38, Bharata B Rao wrote:
> > This patchset adds memory hot removal support for PowerPC sPAPR.
> > This new version switches to using the proposed "count-indexed" type of
> > hotplug identifier which allows to hot remove a number of LMBs starting
> > with a given DRC index.
> > 
> > This count-indexed hotplug identifier isn't yet part of PAPR.
> 
> Just for clarification / my understanding: That means we also need a
> modified guest to support this new interface? If yes, did you post such
> patches somewhere else already, too?

No patches posted yet, but hopefully soon. These bits will likely be added
as part of an effort that moves all memory hotplug/unplug into guest
kernel instead of relying on drmgr. Most of the bits for in-kernel
memory hotplug are already upstream, but there's a number of other
requirements in the spec update (like a new hotplug interrupt/queue
instead of re-using EPOW) that need to be addressed as part of the
switchover.

> 
>  Thomas
> 




Re: [Qemu-devel] [RFC PATCH v2 0/2] spapr: Memory hot-unplug support

2016-05-27 Thread Thomas Huth
 Hi Bharata,

On 15.03.2016 05:38, Bharata B Rao wrote:
> This patchset adds memory hot removal support for PowerPC sPAPR.
> This new version switches to using the proposed "count-indexed" type of
> hotplug identifier which allows to hot remove a number of LMBs starting
> with a given DRC index.
> 
> This count-indexed hotplug identifier isn't yet part of PAPR.

Just for clarification / my understanding: That means we also need a
modified guest to support this new interface? If yes, did you post such
patches somewhere else already, too?

 Thomas




[Qemu-devel] [RFC PATCH v2 0/2] spapr: Memory hot-unplug support

2016-03-14 Thread Bharata B Rao
This patchset adds memory hot removal support for PowerPC sPAPR.
This new version switches to using the proposed "count-indexed" type of
hotplug identifier which allows to hot remove a number of LMBs starting
with a given DRC index.

This count-indexed hotplug identifier isn't yet part of PAPR.

Changes in v2
-
- Use count-indexed hotplug identifier type for LMB removal.

v1: https://lists.gnu.org/archive/html/qemu-ppc/2015-10/msg00163.html

Bharata B Rao (2):
  spapr: Add DRC count indexed hotplug identifier type
  spapr: Memory hot-unplug support

 hw/ppc/spapr.c | 93 +-
 hw/ppc/spapr_drc.c | 18 ++
 hw/ppc/spapr_events.c  | 57 +++
 include/hw/ppc/spapr.h |  2 ++
 4 files changed, 155 insertions(+), 15 deletions(-)

-- 
2.1.0