qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bharata B Rao <bharata@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: Bharata B Rao <bharata@linux.vnet.ibm.com>,
	mdroth@linux.vnet.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org,
	tyreld@linux.vnet.ibm.com, nfont@linux.vnet.ibm.com,
	imammedo@redhat.com, david@gibson.dropbear.id.au
Subject: [Qemu-devel] [RFC PATCH v0 0/3] sPAPR: Memory hot removal support
Date: Wed, 19 Aug 2015 12:26:08 +0530	[thread overview]
Message-ID: <1439967371-15870-1-git-send-email-bharata@linux.vnet.ibm.com> (raw)

This patchset enables memory hot unplug for PowerPC sPAPR guests.
This applies against spapr-next branch of David Gibson's tree that
currently contains the memory hotplug code for sPAPR.

Currently with drmgr, it is not possible to attempt just the removal
of those LMBs that form the DIMM device when the DIMM device is removed.
drmgr just walks through all the available 'removable' LMBs and tries
to off-line the specified number of LMBs. Because of this, I have
introduced some additional checks in QEMU to fail the removal request of an
LMB that doesn't belong to the DIMM device which is being unplugged.
This causes some churn in the guest when the LMB that didn't belong to
the DIMM device was offlined and later brought online again by drmgr
when QEMU fails the release of the corresponding DRC object.

Bharata B Rao (3):
  pc-dimm: Add a field to PCDIMMDevice to mark device deletion state
  spapr-rtas: Enable rtas_set_indicator() to return correct error
  spapr: Memory hot-unplug support

 hw/ppc/spapr.c           | 114 ++++++++++++++++++++++++++++++++++++++++++++++-
 hw/ppc/spapr_drc.c       |  21 +++++++++
 hw/ppc/spapr_rtas.c      |   9 ++--
 include/hw/mem/pc-dimm.h |   1 +
 include/hw/ppc/spapr.h   |   2 +
 5 files changed, 142 insertions(+), 5 deletions(-)

-- 
2.1.0

             reply	other threads:[~2015-08-19  6:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  6:56 Bharata B Rao [this message]
2015-08-19  6:56 ` [Qemu-devel] [RFC PATCH v0 1/3] pc-dimm: Add a field to PCDIMMDevice to mark device deletion state Bharata B Rao
2015-08-25  2:30   ` Michael Roth
2015-08-26  4:32     ` Bharata B Rao
2015-08-19  6:56 ` [Qemu-devel] [RFC PATCH v0 2/3] spapr-rtas: Enable rtas_set_indicator() to return correct error Bharata B Rao
2015-08-25  2:26   ` Michael Roth
2015-09-04  7:10   ` David Gibson
2015-08-19  6:56 ` [Qemu-devel] [RFC PATCH v0 3/3] spapr: Memory hot-unplug support Bharata B Rao
2015-08-25  2:39   ` Michael Roth
2015-08-26  9:57     ` Bharata B Rao
2015-09-04 16:06       ` Michael Roth
2015-09-04  7:20   ` 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=1439967371-15870-1-git-send-email-bharata@linux.vnet.ibm.com \
    --to=bharata@linux.vnet.ibm.com \
    --cc=agraf@suse.de \
    --cc=david@gibson.dropbear.id.au \
    --cc=imammedo@redhat.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=nfont@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=tyreld@linux.vnet.ibm.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).