Red Hat Bugzilla – Bug 1308746
[RFE] PAPR Hash Page Table resizing (RHEV)
Last modified: 2016-02-15 17:40:31 EST
RHEV should determine if the guest supports HPT resizing, then increase the default max size of memory.
+++ This bug was initially created as a clone of Bug #1308743 +++
In case libvirt requires changes to support HPT resizing. If no changes required, set this BZ to TestOnly.
+++ This bug was initially created as a clone of Bug #1305398 +++
Description of problem:
Allow the hash page table (HPT) of PAPR guests to be resized at runtime.
This is important for practical memory hotplug. Without this the HPT needs to be sized for the guest's maximum possible memory - since RHEV wants to set that to 4T, this can result in a much bigger than necessary HPT which wastes host resources and can cause allocation failures. With HV KVM the HPT is unswappable, contiguous host memory.
This BZ covers the qemu parts of this including TCG and PR KVM implementation of the necessary hypercalls, feature negotation with the guest and enabling the necessary KVM host pieces.
--- Additional comment from David Gibson on 2016-02-07 19:52:00 EST ---
An RFC has been posted upstream:
*** This bug has been marked as a duplicate of bug 1308744 ***