aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/pci_bridge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c
index 464d89708f..e0b339edb0 100644
--- a/hw/pci_bridge.c
+++ b/hw/pci_bridge.c
@@ -246,6 +246,9 @@ int pci_bridge_initfn(PCIDevice *dev)
br->bus_name);
sec_bus->parent_dev = dev;
sec_bus->map_irq = br->map_irq;
+ /* TODO: use memory API to perform memory filtering. */
+ sec_bus->address_space_mem = parent->address_space_mem;
+ sec_bus->address_space_io = parent->address_space_io;
QLIST_INIT(&sec_bus->child);
QLIST_INSERT_HEAD(&parent->child, sec_bus, sibling);