On 22/11/16 12:12, Eduardo Habkost wrote: > Populate default_bus_types for some machines. Work in progress, I > didn't check if all machines were converted (so we could enable
Yup, pseries is missed here. diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index c3269c7..ab5939e 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -2692,6 +2692,9 @@ static void spapr_machine_class_init(ObjectClass *oc, void *data) fwc->get_dev_path = spapr_get_fw_dev_path; nc->nmi_monitor_handler = spapr_nmi; smc->phb_placement = spapr_phb_placement; + + machine_class_add_default_bus(mc, TYPE_PCI_BUS); + machine_class_add_default_bus(mc, TYPE_SPAPR_VIO_BUS); } static const TypeInfo spapr_machine_info = { > strict mode for ppci in qmp-machine-info.py). > > Cc: Alexander Graf <ag...@suse.de> > Cc: Scott Wood <scottw...@freescale.com> > Cc: David Gibson <da...@gibson.dropbear.id.au> > Cc: qemu-...@nongnu.org > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > hw/ppc/e500plat.c | 3 +++ > hw/ppc/mac_newworld.c | 4 ++++ > hw/ppc/mac_oldworld.c | 3 +++ > hw/ppc/mpc8544ds.c | 4 ++++ > hw/ppc/ppc440_bamboo.c | 1 + > hw/ppc/prep.c | 4 ++++ > 6 files changed, 19 insertions(+) -- Alexey