[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [RFC PATCH v4 0/5] Memory hotplug for PowerPC sPAPR guests

From: Bharata B Rao
Subject: [Qemu-ppc] [RFC PATCH v4 0/5] Memory hotplug for PowerPC sPAPR guests
Date: Fri, 19 Jun 2015 15:47:52 +0530


This is the next version of memory hotplug support patchset for PowerPC
sPAPR guests. This is a split-out from the previous version (v3) that
was carrying CPU and memory hotplug together.

This patchset applies on spapr-next branch of David Gibson's tree with
the other prerequisite patchset applied. Pre-requistes patchset was
posted at:

Changes in v4
- Supporting only 32 DIMM slots since PowerPC kernel supports 32.
- LMB DR connectors are now created at boot time instead of creating
  them during ibm,client-architecture-support call. This enables
  hot adding memroy to a migrated VM.
- Imposing the restriction that node memory size and max memory size
  be in multiples of SPAPR_MEMORY_BLOCK_SIZE (256M).
- Ensure address@hidden for RMA ends in the 1st node that has non-zero
  node size.
- Make hash table size dependent on maxram_size instead of ram_size.
- Allow hotplug to nodes other than NUMA node 0.
- No duplication of hotplug code from pc_dimm_plug().

v3: https://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg02910.html

The memory hotplug feature requires updated version of powerpc-utils
and ppc64-diag packages in the guest.

Bharata B Rao (5):
  spapr: Initialize hotplug memory address space
  spapr: Add LMB DR connectors
  spapr: Support ibm,dynamic-reconfiguration-memory
  spapr: Make hash table size a factor of maxram_size
  spapr: Memory hotplug support

 default-configs/ppc64-softmmu.mak |   1 +
 docs/specs/ppc-spapr-hotplug.txt  |  48 +++++
 hw/ppc/spapr.c                    | 436 ++++++++++++++++++++++++++++++++++----
 hw/ppc/spapr_events.c             |   8 +-
 hw/ppc/spapr_hcall.c              |  51 ++++-
 include/hw/ppc/spapr.h            |  29 ++-
 6 files changed, 519 insertions(+), 54 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]