Hi, 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: https://lists.gnu.org/archive/html/qemu-devel/2015-06/msg05157.html 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 memory@0 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(-) -- 2.1.0