spapr: nested: Use correct source for parttbl info for nested PAPR API.
authorHarsh Prateek Bora <harshpb@linux.ibm.com>
Fri, 8 Mar 2024 11:19:38 +0000 (16:49 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 12 Mar 2024 16:47:04 +0000 (02:47 +1000)
commit98823ce03ad5f3fe6f8a43d747168452ecc6cc8b
tree522cfe1a5c8c004597ab6cf4fc94b1dceb767ab7
parent64c43909b29765f415c4bfe3e38f113252894277
spapr: nested: Use correct source for parttbl info for nested PAPR API.

For nested PAPR API, we use SpaprMachineStateNestedGuest struct to store
partition table info, use the same in spapr_get_pate_nested() via
helper.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/spapr.c
hw/ppc/spapr_nested.c
include/hw/ppc/spapr_nested.h