qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: paulus@samba.org, aik@ozlabs.ru
Cc: agraf@suse.de, David Gibson <david@gibson.dropbear.id.au>,
	qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
	bharata@linux.vnet.ibm.com
Subject: [Qemu-devel] [RFC 0/6] PAPR HPT resizing (qemu host side)
Date: Mon, 21 Mar 2016 15:42:46 +1100	[thread overview]
Message-ID: <1458535372-6757-1-git-send-email-david@gibson.dropbear.id.au> (raw)

This is my latest draft of a PAPR extension allowing a guest's Hash
Page Table (HPT) to be resized at runtime (to better respond to memory
hotplug events).

This series contains the qemu portions of the implementation: a full
implementation for TCG and KVM PR guests, and hooks to enable and
advertise the KVM HV implementation when available.

To use this requires a guest which is aware of HPT resizing, and, if
using KVM HV, a host KVM which implements it as well.  The latest
guest and host kernel implementations can be found here:
    https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-March/140896.html

David Gibson (6):
  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
  pseries: Allow HPT resizing on PR KVM
  pseries: Allow KVM HV implementation of HPT resizing to be used

 hw/ppc/spapr.c            |  84 +++++++++-
 hw/ppc/spapr_hcall.c      | 405 +++++++++++++++++++++++++++++++++++++++++++++-
 include/hw/ppc/spapr.h    |  21 ++-
 linux-headers/linux/kvm.h |   1 +
 target-ppc/kvm.c          |  54 +++++++
 target-ppc/kvm_ppc.h      |   6 +
 target-ppc/mmu-hash64.h   |   4 +
 trace-events              |   2 +
 8 files changed, 567 insertions(+), 10 deletions(-)

-- 
2.5.0

             reply	other threads:[~2016-03-21  4:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21  4:42 David Gibson [this message]
2016-03-21  4:42 ` [Qemu-devel] [RFC 1/6] pseries: Stubs for HPT resizing David Gibson
2016-03-21  4:42 ` [Qemu-devel] [RFC 2/6] pseries: Implement " David Gibson
2016-03-21  4:42 ` [Qemu-devel] [RFC 3/6] pseries: Enable HPT resizing for 2.6 David Gibson
2016-03-21  4:42 ` [Qemu-devel] [RFC 4/6] pseries: Use smaller default hash page tables when guest can resize David Gibson
2016-03-21  4:42 ` [Qemu-devel] [RFC 5/6] pseries: Allow HPT resizing on PR KVM David Gibson
2016-03-21  4:42 ` [Qemu-devel] [RFC 6/6] pseries: Allow KVM HV implementation of HPT resizing to be used 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=1458535372-6757-1-git-send-email-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=agraf@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=bharata@linux.vnet.ibm.com \
    --cc=paulus@samba.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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).