diff options
| author | Daniel Henrique Barboza | 2022-08-11 18:39:49 +0200 |
|---|---|---|
| committer | Daniel Henrique Barboza | 2022-08-31 19:08:06 +0200 |
| commit | f1327fde3556aeea17f721f4fa2bb8bcf13b2038 (patch) | |
| tree | 3265032cea7cbdd9fa18dec1e46b58cbf4551880 | |
| parent | ppc/pnv: change pnv_phb4_get_pec() to also retrieve chip10->pecs (diff) | |
| download | qemu-f1327fde3556aeea17f721f4fa2bb8bcf13b2038.tar.gz qemu-f1327fde3556aeea17f721f4fa2bb8bcf13b2038.tar.xz qemu-f1327fde3556aeea17f721f4fa2bb8bcf13b2038.zip | |
ppc/pnv: user creatable pnv-phb for powernv10
Given that powernv9 and powernv10 uses the same pnv-phb backend, the
logic to allow user created pnv-phbs for powernv10 is already in place.
Let's flip the switch.
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-11-danielhb413@gmail.com>
| -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 c063d01f8d..354aa289d1 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -2251,6 +2251,8 @@ static void pnv_machine_power10_class_init(ObjectClass *oc, void *data) pmc->dt_power_mgt = pnv_dt_power_mgt; xfc->match_nvt = pnv10_xive_match_nvt; + + machine_class_allow_dynamic_sysbus_dev(mc, TYPE_PNV_PHB); } static bool pnv_machine_get_hb(Object *obj, Error **errp) |
