qemu-e2k/include/hw/ppc
David Gibson 123eec6552 spapr: Use maximum page size capability to simplify memory backend checking
The way we used to handle KVM allowable guest pagesizes for PAPR guests
required some convoluted checking of memory attached to the guest.

The allowable pagesizes advertised to the guest cpus depended on the memory
which was attached at boot, but then we needed to ensure that any memory
later hotplugged didn't change which pagesizes were allowed.

Now that we have an explicit machine option to control the allowable
maximum pagesize we can simplify this.  We just check all memory backends
against that declared pagesize.  We check base and cold-plugged memory at
reset time, and hotplugged memory at pre_plug() time.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
2018-06-22 14:19:07 +10:00
..
fdt.h
mac_dbdma.h
openpic_kvm.h
openpic.h
pnv_core.h pnv_core: Allocate cpu thread objects individually 2018-06-16 16:32:33 +10:00
pnv_lpc.h ppc/pnv: introduce a new isa_create() operation to the chip model 2018-06-21 21:22:53 +10:00
pnv_occ.h
pnv_psi.h
pnv_xscom.h
pnv.h ppc/pnv: introduce Pnv8Chip and Pnv9Chip models 2018-06-21 21:22:53 +10:00
ppc4xx.h
ppc_e500.h
ppc.h
spapr_cpu_core.h spapr_cpu_core: migrate per-CPU data 2018-06-21 21:22:53 +10:00
spapr_drc.h
spapr_ovec.h
spapr_rtas.h
spapr_vio.h
spapr.h spapr: Use maximum page size capability to simplify memory backend checking 2018-06-22 14:19:07 +10:00
xics.h