aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/pnv_phb.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2022-08-11 13:39:47 -0300
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-08-31 14:08:06 -0300
commitd786be3fe7466ff96db96b86e6fee437136d63d7 (patch)
treed4e4f4f59c7fef4ce032a16e8508a284518a4043 /hw/pci-host/pnv_phb.c
parentc1471772772499b36659a0785d9a3de759d5aee2 (diff)
ppc/pnv: enable user created pnv-phb for powernv9
Enable pnv-phb user created devices for powernv9 now that we have everything in place. Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Message-Id: <20220811163950.578927-9-danielhb413@gmail.com>
Diffstat (limited to 'hw/pci-host/pnv_phb.c')
-rw-r--r--hw/pci-host/pnv_phb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/pnv_phb.c b/hw/pci-host/pnv_phb.c
index 1f53ff77c5..17d9960aa1 100644
--- a/hw/pci-host/pnv_phb.c
+++ b/hw/pci-host/pnv_phb.c
@@ -167,7 +167,7 @@ static void pnv_phb_realize(DeviceState *dev, Error **errp)
pnv_phb4_bus_init(dev, PNV_PHB4(phb->backend));
}
- if (phb->version == 3 && !defaults_enabled()) {
+ if (!defaults_enabled()) {
return;
}