qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: qemu-ppc@nongnu.org
Cc: qemu-devel@nongnu.org, agraf@suse.de, sjitindarsingh@gmail.com,
	sam.bobroff@au1.ibm.com,
	David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PATCH for-2.10 0/5] HPT resizing for PAPR guests
Date: Fri, 10 Mar 2017 12:13:23 +1100	[thread overview]
Message-ID: <20170310011328.30719-1-david@gibson.dropbear.id.au> (raw)

These patches implementa PAPR extension to allow 'pseries' machine
type guests to resize their hashed page table (HPT).  This allows for
more flexible memory hotplug, because we don't need to size the
initial HPT for the maximum memory size.  That's particularly valuable
with (HV) KVM, since the HPT has to be host physically contiguous.

I believe this is ready to be staged for qemu-2.10 now, and assuming
there are no objections or changes suggested, I'll merge this to my
ppc-for-2.10 branch.

Since the last post this has been rebased (not trivial, due to the HPT
handling cleanups which went in recently).  I've also removed an
assert which I suspect could be triggered by the guest.

David Gibson (5):
  pseries: Stubs for HPT resizing
  pseries: Implement HPT resizing
  pseries: Enable HPT resizing for 2.10
  pseries: Use smaller default hash page tables when guest can resize
  pseries: Allow HPT resizing with KVM

 hw/ppc/spapr.c              | 103 +++++++++-
 hw/ppc/spapr_hcall.c        | 459 ++++++++++++++++++++++++++++++++++++++++++++
 hw/ppc/trace-events         |   2 +
 include/hw/ppc/spapr.h      |  19 ++
 include/hw/ppc/spapr_ovec.h |   1 +
 target/ppc/kvm.c            |  75 ++++++++
 target/ppc/kvm_ppc.h        |  26 +++
 target/ppc/mmu-hash64.h     |   4 +
 8 files changed, 681 insertions(+), 8 deletions(-)

-- 
2.9.3

             reply	other threads:[~2017-03-10  1:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10  1:13 David Gibson [this message]
2017-03-10  1:13 ` [Qemu-devel] [PATCH for-2.10 1/5] pseries: Stubs for HPT resizing David Gibson
2017-03-10  1:13 ` [Qemu-devel] [PATCH for-2.10 2/5] pseries: Implement " David Gibson
2017-03-10 10:07   ` Bharata B Rao
2017-03-14  5:02     ` David Gibson
2017-03-10  1:13 ` [Qemu-devel] [PATCH for-2.10 3/5] pseries: Enable HPT resizing for 2.10 David Gibson
2017-03-10  1:13 ` [Qemu-devel] [PATCH for-2.10 4/5] pseries: Use smaller default hash page tables when guest can resize David Gibson
2017-03-10  1:13 ` [Qemu-devel] [PATCH for-2.10 5/5] pseries: Allow HPT resizing with KVM David Gibson
2017-03-10  1:15   ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170310011328.30719-1-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=sam.bobroff@au1.ibm.com \
    --cc=sjitindarsingh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).