From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9UhA-000364-2n for qemu-devel@nongnu.org; Mon, 29 Jun 2015 04:45:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9Uh5-0007Ik-8A for qemu-devel@nongnu.org; Mon, 29 Jun 2015 04:45:40 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:53753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9Uh4-0007IB-K3 for qemu-devel@nongnu.org; Mon, 29 Jun 2015 04:45:35 -0400 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 29 Jun 2015 18:45:32 +1000 From: Bharata B Rao Date: Mon, 29 Jun 2015 14:14:26 +0530 Message-Id: <1435567472-20338-1-git-send-email-bharata@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v6 0/6] 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 , agraf@suse.de, mdroth@linux.vnet.ibm.com, 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 v5 of memory hotplug support patchset for PowerPC sPAPR guests. This patchset applies on spapr-next branch of David Gibson's tree with pc_dimm_pug reorg+NUMA node lookup patchset v4: http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg07174.html Changes in v6 ------------- - Rebased on top of latest pc_dimm_reorg+NUMA node lookup patchset v4. - Instead of silently disabling memory hotplug, refuse to boot with memory configurations where RAM size or maxmem size or node memory size isn't aligned to SPAPR_MEMORY_BLOCK_SIZE(256MB). (2/6) - Pushed a recoverable error check (hotplug mem size not aligned to 256MB) from spapr_add_lmbs() down to spapr_memory_plug() so that we can pass error_abort to spapr_add_lmbs() and let it abort in case of errors. This is in line with Igor's observation that we shouldn't fail and hence shouldn't try recovery after we have done guest visible changes. (5/6) v5: http://lists.nongnu.org/archive/html/qemu-ppc/2015-06/msg00267.html v4: https://lists.gnu.org/archive/html/qemu-devel/2015-06/msg05242.html v3: https://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg02910.html Bharata B Rao (6): 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 spapr: Don't allow memory hotplug to memory less nodes default-configs/ppc64-softmmu.mak | 1 + docs/specs/ppc-spapr-hotplug.txt | 48 ++++ hw/ppc/spapr.c | 458 ++++++++++++++++++++++++++++++++++---- hw/ppc/spapr_events.c | 8 +- hw/ppc/spapr_hcall.c | 51 ++++- include/hw/ppc/spapr.h | 28 ++- 6 files changed, 540 insertions(+), 54 deletions(-) -- 2.1.0