[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL v2 07/55] hw/prep: realize the PCI root bus as part of
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-ppc] [PULL v2 07/55] hw/prep: realize the PCI root bus as part of the prep init |
Date: |
Tue, 19 Jul 2016 20:50:54 +0300 |
From: Marcel Apfelbaum <address@hidden>
'Realize' the PCI root bus manually since the 'realize' mechanism
does not propagate to child devices yet.
Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Tested-by: Mark Cave-Ayland <address@hidden>
---
hw/pci-host/prep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c
index 487e32e..5580293 100644
--- a/hw/pci-host/prep.c
+++ b/hw/pci-host/prep.c
@@ -247,6 +247,7 @@ static void raven_pcihost_realizefn(DeviceState *d, Error
**errp)
memory_region_add_subregion(address_space_mem, 0xbffffff0, &s->pci_intack);
/* TODO Remove once realize propagates to child devices. */
+ object_property_set_bool(OBJECT(&s->pci_bus), true, "realized", errp);
object_property_set_bool(OBJECT(&s->pci_dev), true, "realized", errp);
}
--
MST
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-ppc] [PULL v2 07/55] hw/prep: realize the PCI root bus as part of the prep init,
Michael S. Tsirkin <=