mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
cf09458d64
commit
60a0e44320
24 changed files with 40 additions and 35 deletions
|
@ -70,7 +70,7 @@ static int pci_vpb_init(SysBusDevice *dev)
|
|||
bus = pci_register_bus(&dev->qdev, "pci",
|
||||
pci_vpb_set_irq, pci_vpb_map_irq, s->irq,
|
||||
get_system_memory(), get_system_io(),
|
||||
PCI_DEVFN(11, 0), 4);
|
||||
PCI_DEVFN(11, 0), 4, TYPE_PCI_BUS);
|
||||
|
||||
/* ??? Register memory space. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue