All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/2] spapr-rtas: add ibm, get-vpd RTAS interface
@ 2019-03-11 22:57 Maxiwell S. Garcia
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Maxiwell S. Garcia @ 2019-03-11 22:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: david, qemu-ppc, Maxiwell S. Garcia

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-11 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11 22:57 [Qemu-devel] [PATCH v5 0/2] spapr-rtas: add ibm, get-vpd RTAS interface Maxiwell S. Garcia
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.