diff options
author | Alex Williamson | 2013-03-14 23:01:11 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2013-03-26 20:02:18 +0100 |
commit | 60a0e44320cc2601236450fbe95d952830192a1d (patch) | |
tree | 1b7c7045b82c95019798fdf314be12d052e4a748 /hw/prep_pci.c | |
parent | pci: Move PCI and PCIE type defines (diff) | |
download | qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.gz qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.xz qemu-60a0e44320cc2601236450fbe95d952830192a1d.zip |
pci: Allow PCI bus creation interfaces to specify the type of bus
No change to any types.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/prep_pci.c')
-rw-r--r-- | hw/prep_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/prep_pci.c b/hw/prep_pci.c index d21e87671e..58df2452cd 100644 --- a/hw/prep_pci.c +++ b/hw/prep_pci.c @@ -154,7 +154,7 @@ static void raven_pcihost_initfn(Object *obj) DeviceState *pci_dev; pci_bus_new_inplace(&s->pci_bus, DEVICE(obj), NULL, - address_space_mem, address_space_io, 0); + address_space_mem, address_space_io, 0, TYPE_PCI_BUS); h->bus = &s->pci_bus; object_initialize(&s->pci_dev, TYPE_RAVEN_PCI_DEVICE); |