From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aL2cV-0007mZ-Ao for qemu-devel@nongnu.org; Mon, 18 Jan 2016 00:44:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aL2cR-0002AL-9a for qemu-devel@nongnu.org; Mon, 18 Jan 2016 00:44:51 -0500 Date: Mon, 18 Jan 2016 16:45:42 +1100 From: David Gibson Message-ID: <20160118054542.GN9301@voom.fritz.box> References: <1453095881-16704-1-git-send-email-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKtYx2Ppz7d1tORf" Content-Disposition: inline In-Reply-To: <1453095881-16704-1-git-send-email-david@gibson.dropbear.id.au> Subject: Re: [Qemu-devel] [RFC 0/3] Draft implementation of HPT resizing (qemu side) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: benh@kernel.crashing.org, paulus@samba.org Cc: lvivier@redhat.com, thuth@redhat.com, agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, bharata@linux.vnet.ibm.com --NKtYx2Ppz7d1tORf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 extensio= n for > allowing runtime resizing of a KVM/ppc64 guest's hash page table. > That in turn will allow for more flexible memory hotplug. >=20 > This should work with the guest kernel side patches I also posted > recently [1]. >=20 > Still required to make this into a full implementation: > * Guest needs to auto-resize HPT on memory hotplug events >=20 > * qemu needs to allocate HPT size based on current rather than > maximum memory if the guest is HPT resize aware >=20 > * KVM host side implementation >=20 > * PAPR standardization >=20 >=20 > [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. >=20 > David Gibson (3): > pseries: Stub hypercalls for HPT resizing > pseries: Implement HPT resizing > pseries: Advertise HPT resize capability >=20 > 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(-) >=20 --=20 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 --NKtYx2Ppz7d1tORf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWnHwGAAoJEGw4ysog2bOSgEsP/RtvC5PIxbhxwP373JlMeo8N ZSSHoagu8U3KuZV9tBDGa1Pcs4NHsdZWYqHQva23IM5HtUc2VRTFKzAL+meGgYjP 2/sktFGZQ6b+lQbB2jUlQnC41es+7dztnevXV2LmeaIv+lvCjO/pAED/1deuiSst bVHCKWRzjFUFvVU12qhF++vQnnnpQmp2Y78f7AfpLYM7dS04h3WE307q7YB+FKZ9 MvEIMhPRHMmVT+LBr2UyLeih6sRSQ8i4GXPfJVMpcVypNeumB2hQGjF3TST8M/X+ 4HVHdZukPVULT+qi73r3pLzTu8+qo6fI+2qW3yuPxgrm5cFovNVE9NgPpaZPnrXc hhM+65NgMd2ODUkEYJC19MwZMdB8H8m+GHB+Rjhx21adDUwrjMf8ruOE++al+MjE FUfWgqL6IFhPjjgiRGYtKQl73olYuDxl0+8oDKsoBBeZTpF0Vvfeu46Gwg8lkuY/ /GrOAmI4ptp0BwhFsY4Guv5x+ZjAiZgf7ZQU1cIUVmYV6SWm5yf0+b//vvk99CLP GGyX4aJlngGp0Ibvh6fYoVU5VvUqhkwdfQy9it1QAET3zQOqJgftem3qfeDeH75E chIDRxPh1HOfWuxlNufwoaBibEzyLZ8YCI6h9dEIJO5zxWh6LEvObe6JgeX5ohTh mbYjbRoCmajMSkGjDtr9 =5KkJ -----END PGP SIGNATURE----- --NKtYx2Ppz7d1tORf--