diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:04 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:15:53 -0500 |
commit | aee97b840fd0362594c954af750491fafad66a3d (patch) | |
tree | 38d92eebc7f845fece1358ef1aeecf6f9741d138 /hw/bonito.c | |
parent | 309cb471c80e5909710d1ee3c3b50d481496d189 (diff) |
pci: pass I/O address space to new PCI bus
This lets us register BARs in the I/O address space.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/bonito.c')
-rw-r--r-- | hw/bonito.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bonito.c b/hw/bonito.c index 5f62dda6e2..8708e95688 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -775,6 +775,7 @@ PCIBus *bonito_init(qemu_irq *pic) pcihost = FROM_SYSBUS(BonitoState, sysbus_from_qdev(dev)); b = pci_register_bus(&pcihost->busdev.qdev, "pci", pci_bonito_set_irq, pci_bonito_map_irq, pic, get_system_memory(), + get_system_io(), 0x28, 32); pcihost->bus = b; qdev_init_nofail(dev); |