qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v4 0/5] Memory hotplug for PowerPC sPAPR guests
@ 2015-06-19 10:17 Bharata B Rao
  2015-06-19 10:17 ` [Qemu-devel] [RFC PATCH v4 1/5] spapr: Initialize hotplug memory address space Bharata B Rao
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Bharata B Rao @ 2015-06-19 10:17 UTC (permalink / raw)
  To: qemu-devel
  Cc: aik, Bharata B Rao, mdroth, agraf, qemu-ppc, tyreld, nfont,
	imammedo, david

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-06-25 12:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-19 10:17 [Qemu-devel] [RFC PATCH v4 0/5] Memory hotplug for PowerPC sPAPR guests Bharata B Rao
2015-06-19 10:17 ` [Qemu-devel] [RFC PATCH v4 1/5] spapr: Initialize hotplug memory address space Bharata B Rao
2015-06-23  1:33   ` David Gibson
2015-06-24  2:14     ` Bharata B Rao
2015-06-19 10:17 ` [Qemu-devel] [RFC PATCH v4 2/5] spapr: Add LMB DR connectors Bharata B Rao
2015-06-23  1:32   ` David Gibson
2015-06-24  2:19     ` Bharata B Rao
2015-06-24  3:24       ` Bharata B Rao
2015-06-24  5:51       ` David Gibson
2015-06-25 12:56     ` Michael Roth
2015-06-19 10:17 ` [Qemu-devel] [RFC PATCH v4 3/5] spapr: Support ibm, dynamic-reconfiguration-memory Bharata B Rao
2015-06-23  1:54   ` David Gibson
2015-06-24  2:25     ` Bharata B Rao
2015-06-24  5:55       ` David Gibson
2015-06-25  6:17         ` Bharata B Rao
2015-06-19 10:17 ` [Qemu-devel] [RFC PATCH v4 4/5] spapr: Make hash table size a factor of maxram_size Bharata B Rao
2015-06-23  2:08   ` David Gibson
2015-06-19 10:17 ` [Qemu-devel] [RFC PATCH v4 5/5] spapr: Memory hotplug support Bharata B Rao
2015-06-23  2:29   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).