From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5tNI-0004cp-H6 for qemu-devel@nongnu.org; Fri, 19 Jun 2015 06:18:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5tNE-0000aO-49 for qemu-devel@nongnu.org; Fri, 19 Jun 2015 06:18:16 -0400 Received: from e28smtp02.in.ibm.com ([122.248.162.2]:39056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5tND-0000Ys-EU for qemu-devel@nongnu.org; Fri, 19 Jun 2015 06:18:12 -0400 Received: from /spool/local by e28smtp02.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 19 Jun 2015 15:48:08 +0530 From: Bharata B Rao Date: Fri, 19 Jun 2015 15:47:52 +0530 Message-Id: <1434709077-17491-1-git-send-email-bharata@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC PATCH v4 0/5] Memory hotplug for PowerPC sPAPR guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aik@ozlabs.ru, Bharata B Rao , mdroth@linux.vnet.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org, tyreld@linux.vnet.ibm.com, nfont@linux.vnet.ibm.com, imammedo@redhat.com, david@gibson.dropbear.id.au 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