mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
pnv/psi: Correct the pnv-psi* devices not to be sysbus devices
pnv_chip_power8_instance_init() creates a "pnv-psi-POWER8" sysbus device in a way that leaves it unplugged. pnv_chip_power9_instance_init() and pnv_chip_power10_instance_init() do the same for "pnv-psi-POWER9" and "pnv-psi-POWER10", respectively. These devices aren't actually sysbus devices. Correct that. Cc: "Cédric Le Goater" <[email protected]> Cc: David Gibson <[email protected]> Cc: [email protected] Signed-off-by: Markus Armbruster <[email protected]> Reviewed-by: Cédric Le Goater <[email protected]> Message-Id: <[email protected]>
This commit is contained in:
1 parent
9354eaaf16
commit
2f35254aa0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -943,7 +943,7 @@ static void pnv_psi_class_init(ObjectClass *klass, void *data)
|
||||
|
||||
static const TypeInfo pnv_psi_info = {
|
||||
.name = TYPE_PNV_PSI,
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.parent = TYPE_DEVICE,
|
||||
.instance_size = sizeof(PnvPsi),
|
||||
.class_init = pnv_psi_class_init,
|
||||
.class_size = sizeof(PnvPsiClass),
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#define PSIHB_XSCOM_MAX 0x20
|
||||
|
||||
typedef struct PnvPsi {
|
||||
SysBusDevice parent;
|
||||
DeviceState parent;
|
||||
|
||||
MemoryRegion regs_mr;
|
||||
uint64_t bar;
|
||||
|
||||
Reference in new issue
Block a user