[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [Qemu-devel] [PATCH 7/7] hw/versatile: realize the PCI root b
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-arm] [Qemu-devel] [PATCH 7/7] hw/versatile: realize the PCI root bus as part of the versatile init |
Date: |
Thu, 14 Jul 2016 16:43:46 +0300 |
'Realize' the PCI root bus manually since the 'realize' mechanism
does not propagate to child devices yet.
Signed-off-by: Marcel Apfelbaum <address@hidden>
---
hw/pci-host/versatile.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/pci-host/versatile.c b/hw/pci-host/versatile.c
index 0792c45..467cbb9 100644
--- a/hw/pci-host/versatile.c
+++ b/hw/pci-host/versatile.c
@@ -455,6 +455,7 @@ static void pci_vpb_realize(DeviceState *dev, Error **errp)
}
/* 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);
}
--
2.4.3
- [Qemu-arm] [Qemu-devel] [PATCH 1/7] tests/prom-env-test: increase the test timeout, (continued)
- [Qemu-arm] [Qemu-devel] [PATCH 1/7] tests/prom-env-test: increase the test timeout, Marcel Apfelbaum, 2016/07/14
- [Qemu-arm] [Qemu-devel] [PATCH 2/7] hw/alpha: fix PCI bus initialization, Marcel Apfelbaum, 2016/07/14
- [Qemu-arm] [Qemu-devel] [PATCH 3/7] hw/mips: fix PCI bus initialization, Marcel Apfelbaum, 2016/07/14
- [Qemu-arm] [Qemu-devel] [PATCH 4/7] hw/apb: fix PCI bus initialization, Marcel Apfelbaum, 2016/07/14
- [Qemu-arm] [Qemu-devel] [PATCH 5/7] hw/grackle: fix PCI bus initialization, Marcel Apfelbaum, 2016/07/14
- [Qemu-arm] [Qemu-devel] [PATCH 6/7] hw/prep: realize the PCI root bus as part of the prep init, Marcel Apfelbaum, 2016/07/14
- [Qemu-arm] [Qemu-devel] [PATCH 7/7] hw/versatile: realize the PCI root bus as part of the versatile init,
Marcel Apfelbaum <=
- Re: [Qemu-arm] [Qemu-devel] [PATCH 0/7] hw/pci-bus: Fix PCI bus regression on several archs, Mark Cave-Ayland, 2016/07/15