This series implements the host / qemu side to allow hash page table
(HPT) resizing for PAPR (pseries machine type) guests. This is a
proposed extension to the PAPR spec. It also requires awareness on
the guest side, which I've posted a series for today.
This applies on top of my ppc-for-2.6 branch.
Changes from RFCv1:
* Limit the guest's HPT to one order larger than we'd usually give them
* Size initial HPT for initial rather than maximum memory for guests
that are HPT resize aware
David Gibson (6):
pseries: Simplify handling of the hash page table fd
pseries: Move hash page table allocation to reset time
pseries: Stubs for HPT resizing
pseries: Implement HPT resizing
pseries: Enable HPT resizing for 2.6
pseries: Use smaller default hash page tables when guest can resize
hw/ppc/spapr.c | 278 +++++++++++++++++++----------------
hw/ppc/spapr_hcall.c | 375 +++++++++++++++++++++++++++++++++++++++++++++++-
include/hw/ppc/spapr.h | 20 ++-
target-ppc/mmu-hash64.h | 4 +
trace-events | 2 +
5 files changed, 553 insertions(+), 126 deletions(-)
--
2.5.0