diff options
author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-08-11 13:39:47 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-08-31 14:08:06 -0300 |
commit | d786be3fe7466ff96db96b86e6fee437136d63d7 (patch) | |
tree | d4e4f4f59c7fef4ce032a16e8508a284518a4043 /hw/ppc/pnv.c | |
parent | c1471772772499b36659a0785d9a3de759d5aee2 (diff) | |
download | qemu-d786be3fe7466ff96db96b86e6fee437136d63d7.zip qemu-d786be3fe7466ff96db96b86e6fee437136d63d7.tar.gz qemu-d786be3fe7466ff96db96b86e6fee437136d63d7.tar.bz2 |
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/ppc/pnv.c')
-rw-r--r-- | hw/ppc/pnv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index c34967c..f45f02b 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -2213,6 +2213,8 @@ static void pnv_machine_power9_class_init(ObjectClass *oc, void *data) pmc->compat = compat; pmc->compat_size = sizeof(compat); pmc->dt_power_mgt = pnv_dt_power_mgt; + + machine_class_allow_dynamic_sysbus_dev(mc, TYPE_PNV_PHB); } static void pnv_machine_power10_class_init(ObjectClass *oc, void *data) |