summary refs log tree commit diff stats
path: root/hw/bonito.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-03-14 16:01:11 -0600
committerMichael S. Tsirkin <mst@redhat.com>2013-03-26 21:02:18 +0200
commit60a0e44320cc2601236450fbe95d952830192a1d (patch)
tree1b7c7045b82c95019798fdf314be12d052e4a748 /hw/bonito.c
parentcf09458d644934976aa64e88bb41ef9a4cc2766a (diff)
downloadfocaccia-qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.gz
focaccia-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/bonito.c')
-rw-r--r--hw/bonito.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bonito.c b/hw/bonito.c
index 3456e7840e..e58655a64d 100644
--- a/hw/bonito.c
+++ b/hw/bonito.c
@@ -707,7 +707,7 @@ static int bonito_pcihost_initfn(SysBusDevice *dev)
     phb->bus = pci_register_bus(DEVICE(dev), "pci",
                                 pci_bonito_set_irq, pci_bonito_map_irq, dev,
                                 get_system_memory(), get_system_io(),
-                                0x28, 32);
+                                0x28, 32, TYPE_PCI_BUS);
 
     return 0;
 }