On Mon, Jan 18, 2016 at 04:44:38PM +1100, David Gibson wrote: 1;2802;0c> Here is a draft qemu implementation of my proposed PAPR extension for > allowing runtime resizing of a KVM/ppc64 guest's hash page table. > That in turn will allow for more flexible memory hotplug. > > This should work with the guest kernel side patches I also posted > recently [1]. > > Still required to make this into a full implementation: > * Guest needs to auto-resize HPT on memory hotplug events > > * qemu needs to allocate HPT size based on current rather than > maximum memory if the guest is HPT resize aware > > * KVM host side implementation > > * PAPR standardization > > > [1] http://thread.gmane.org/gmane.linux.ports.ppc.embedded/90392
Sorry, forgot to mention that this series applies on top of my page
size handling cleanup series posted recently.
>
> David Gibson (3):
> pseries: Stub hypercalls for HPT resizing
> pseries: Implement HPT resizing
> pseries: Advertise HPT resize capability
>
> hw/ppc/spapr.c | 5 +-
> hw/ppc/spapr_hcall.c | 331
> ++++++++++++++++++++++++++++++++++++++++++++++++
> include/hw/ppc/spapr.h | 9 +-
> target-ppc/mmu-hash64.h | 4 +
> trace-events | 2 +
> 5 files changed, 348 insertions(+), 3 deletions(-)
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
