diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-03-14 16:01:11 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-03-26 21:02:18 +0200 |
commit | 60a0e44320cc2601236450fbe95d952830192a1d (patch) | |
tree | 1b7c7045b82c95019798fdf314be12d052e4a748 /hw/q35.c | |
parent | cf09458d644934976aa64e88bb41ef9a4cc2766a (diff) | |
download | 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/q35.c')
-rw-r--r-- | hw/q35.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,7 +54,8 @@ static int q35_host_init(SysBusDevice *dev) return -1; } b = pci_bus_new(&s->host.pci.busdev.qdev, "pcie.0", - s->mch.pci_address_space, s->mch.address_space_io, 0); + s->mch.pci_address_space, s->mch.address_space_io, + 0, TYPE_PCI_BUS); s->host.pci.bus = b; qdev_set_parent_bus(DEVICE(&s->mch), BUS(b)); qdev_init_nofail(DEVICE(&s->mch)); |