qemu/hw/ppc
David Gibson 89dfd6e1b3 pseries: Remove "busname" property for PCI host bridge
Currently the "spapr-pci-host-bridge" device has a "busname" property which
can be used to override the default assignment of qbus names for the bus
subordinate to the PHB.  We use that for the default primary PCI bus, to
make libvirt happy, which expects there to be a bus named simply "pci".
The default qdev core logic would name the bus "pci.0", and the pseries
code would otherwise name it "pci@800000020000000" which is the name it
is given in the device tree based on its BUID.

The "busname" property is rather clunky though, so this patch simplifies
things by just using a special case hack for the default PHB, setting
busname to "pci" when index=0.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-03-22 15:28:45 +01:00
..
Makefile.objs ppc: move more files to hw/ppc 2013-03-01 15:01:19 +01:00
e500-ccsr.h ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
e500.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
e500.h PPC: e500: Select MPIC v4.2 on ppce500 platform 2013-01-25 22:02:56 +01:00
e500plat.c ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
mac.h cuda: Move ADB bus into CUDA state 2013-01-25 22:02:55 +01:00
mac_newworld.c PPC: Fix dma interrupt 2013-03-08 21:04:53 +01:00
mac_oldworld.c fw_cfg: Remove FW_CFG_MAX_CPUS from fw_cfg_init() 2013-01-27 14:34:27 +01:00
mpc8544_guts.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
mpc8544ds.c ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
ppc.c cpu: Pass CPUState to cpu_interrupt() 2013-03-12 10:35:55 +01:00
ppc4xx_devs.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
ppc405_boards.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
ppc405_uc.c cpu: Pass CPUState to cpu_interrupt() 2013-03-12 10:35:55 +01:00
ppc440_bamboo.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
ppc_booke.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
ppce500_spin.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
prep.c pci_host: Drop write-only address_space field 2013-03-08 13:15:27 +01:00
spapr.c pseries: Remove "busname" property for PCI host bridge 2013-03-22 15:28:45 +01:00
spapr_events.c ppc: move more files to hw/ppc 2013-03-01 15:01:19 +01:00
spapr_hcall.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
spapr_iommu.c ppc: move more files to hw/ppc 2013-03-01 15:01:19 +01:00
spapr_rtas.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
spapr_vio.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00
virtex_ml507.c hw: move boards and other isolated files to hw/ARCH 2013-03-01 15:01:19 +01:00
xics.c ppc: move files referencing CPU to hw/ppc/ 2013-03-01 15:01:19 +01:00