spapr: nested: Initialize the GSB elements lookup table.
commit4a575f9a0567f72df4addba23a857eefc2488258
authorHarsh Prateek Bora <harshpb@linux.ibm.com>
Fri, 8 Mar 2024 11:19:36 +0000 (8 16:49 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 12 Mar 2024 16:47:04 +0000 (13 02:47 +1000)
tree7ec302aa2e531df1be5294463fcc431ece36ffd3
parentbb23bccebc7f99aa200fa27ff5c2056627951ae4
spapr: nested: Initialize the GSB elements lookup table.

Nested PAPR API provides a standard Guest State Buffer (GSB) format
with unique IDs for each guest state element for which get/set state is
supported by the API. Some of the elements are read-only and/or guest-wide.
Introducing additional required GSB elements and helper routines for state
exchange of each of the nested guest state elements for which get/set state
should be supported by the API.

[amachhiw: set the PCR whenever logical PVR is set]

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Amit Machhiwal <amachhiw@linux.vnet.ibm.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/spapr_nested.c
include/hw/ppc/spapr_nested.h