The suggested way to work around the virtio bug reported here http://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg00522.html
is to introduce gaps between DIMMs. Igor's patchset changes the pc-dimm auto-address assignment to introduce gaps and ues the same from pc memhp. This patchset does the same for sPAPR PowerPC. Before introducing the gap, ensure that memory hotplug region has enough room for alignment adjustment. We accommodate a max alignment of 256MB for each slot since sPAPR memory hotplug enforces an alignment requirement of 256MB on RAM size, maxmem and NUMA node mem sizes. This applies on David's spapr-next branch + Igor's patchset applied. Changes in v1 ------------- - Create DRC objects spanning the alignment-adjusted hotplug memory region instead of just for (maxmem - ramsize). - Pass an alignment of 256M to pc_dimm_memory_plug() so that we always get 256M aligned DIMM addresses. v0: https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00749.html Bharata B Rao (2): spapr: Accommadate alignment gaps in hotplug memory region spapr: Force gaps between DIMM's GPA hw/ppc/spapr.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) -- 2.1.0