ppc/pnv: enable user created pnv-phb for powernv8
commit892c3ad0d5d6bb9b1e414d61118e93362ecab782
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 11 Aug 2022 16:39:45 +0000 (11 13:39 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 31 Aug 2022 17:08:06 +0000 (31 14:08 -0300)
tree0b53fb5b8725848c903fe39532549068be81b206
parent0d512c7120a2638da242436d45bd8a82ffffe27a
ppc/pnv: enable user created pnv-phb for powernv8

The bulk of the work was already done by previous patches.

Use defaults_enabled() to determine whether we need to create the
default devices or not.

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-7-danielhb413@gmail.com>
hw/pci-host/pnv_phb.c
hw/ppc/pnv.c