Skip to content

spapr-rtas: add ibm, get-vpd RTAS interface

Maxiwell S. Garcia qemu-devel 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v41 patch 3 repliesSuperseded
  3. v31 patch 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch10 repliesApplied
v11 patch2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spapr: helper functions to get valid host fieldshw/ppc/spapr.c include/hw/ppc/spapr.h+39 -220 replies
2/2spapr-rtas: add ibm, get-vpd RTAS interfacehw/ppc/spapr_rtas.c include/hw/ppc/spapr.h+121 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 0/2] spapr-rtas: add ibm, get-vpd RTAS interface

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(-)
Signature · 1 line
2.20.1