From: "Maxiwell S. Garcia" <maxiwell@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: david@gibson.dropbear.id.au, qemu-ppc@nongnu.org,
"Maxiwell S. Garcia" <maxiwell@linux.ibm.com>
Subject: [Qemu-devel] [PATCH v5 0/2] spapr-rtas: add ibm, get-vpd RTAS interface
Date: Mon, 11 Mar 2019 19:57:07 -0300 [thread overview]
Message-ID: <20190311225709.5535-1-maxiwell@linux.ibm.com> (raw)
Here are two patches to add a handler for ibm,get-vpd RTAS calls.
This RTAS exposes host information in case of set QEMU options
'host-serial' and 'host-model' as 'passthrough'.
The patch 1 creates helper functions to get valid 'host-serial'
and 'host-model' parameters, guided by QEMU command line. These
parameters are useful to build the guest device tree and to return
get-vpd RTAS calls. The patch 2 adds the ibm,get-vpd itself.
Maxiwell S. Garcia (2):
spapr: helper functions to get valid host fields
spapr-rtas: add ibm,get-vpd RTAS interface
hw/ppc/spapr.c | 58 +++++++++++++---------
hw/ppc/spapr_rtas.c | 110 +++++++++++++++++++++++++++++++++++++++++
include/hw/ppc/spapr.h | 15 +++++-
3 files changed, 160 insertions(+), 23 deletions(-)
--
2.20.1
next reply other threads:[~2019-03-11 23:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 22:57 Maxiwell S. Garcia [this message]
2019-03-11 22:57 ` [Qemu-devel] [PATCH v5 1/2] spapr: helper functions to get valid host fields Maxiwell S. Garcia
2019-03-11 22:57 ` [Qemu-devel] [PATCH v5 2/2] spapr-rtas: add ibm, get-vpd RTAS interface Maxiwell S. Garcia
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=20190311225709.5535-1-maxiwell@linux.ibm.com \
--to=maxiwell@linux.ibm.com \
--cc=david@gibson.dropbear.id.au \
--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).