diff options
| author | Harsh Prateek Bora <harshpb@linux.ibm.com> | 2024-03-08 16:49:38 +0530 |
|---|---|---|
| committer | Nicholas Piggin <npiggin@gmail.com> | 2024-03-13 02:47:04 +1000 |
| commit | 98823ce03ad5f3fe6f8a43d747168452ecc6cc8b (patch) | |
| tree | 522cfe1a5c8c004597ab6cf4fc94b1dceb767ab7 /include/hw/ppc/spapr_nested.h | |
| parent | 64c43909b29765f415c4bfe3e38f113252894277 (diff) | |
| download | focaccia-qemu-98823ce03ad5f3fe6f8a43d747168452ecc6cc8b.tar.gz focaccia-qemu-98823ce03ad5f3fe6f8a43d747168452ecc6cc8b.zip | |
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>
Diffstat (limited to 'include/hw/ppc/spapr_nested.h')
| -rw-r--r-- | include/hw/ppc/spapr_nested.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr_nested.h b/include/hw/ppc/spapr_nested.h index bf9b258c29..93ef14adcc 100644 --- a/include/hw/ppc/spapr_nested.h +++ b/include/hw/ppc/spapr_nested.h @@ -519,4 +519,6 @@ bool spapr_get_pate_nested_hv(SpaprMachineState *spapr, PowerPCCPU *cpu, target_ulong lpid, ppc_v3_pate_t *entry); uint8_t spapr_nested_api(SpaprMachineState *spapr); void spapr_nested_gsb_init(void); +bool spapr_get_pate_nested_papr(SpaprMachineState *spapr, PowerPCCPU *cpu, + target_ulong lpid, ppc_v3_pate_t *entry); #endif /* HW_SPAPR_NESTED_H */ |