]> Git Repo - qemu.git/commitdiff
hw/versatile: realize the PCI root bus as part of the versatile init
authorMarcel Apfelbaum <[email protected]>
Thu, 14 Jul 2016 13:43:46 +0000 (16:43 +0300)
committerMichael S. Tsirkin <[email protected]>
Wed, 20 Jul 2016 16:30:27 +0000 (19:30 +0300)
'Realize' the PCI root bus manually since the 'realize' mechanism
does not propagate to child devices yet.

Signed-off-by: Marcel Apfelbaum <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Tested-by: Mark Cave-Ayland <[email protected]>
hw/pci-host/versatile.c

index 0792c4501c156e1835f8507e6f519fb6729d4d85..467cbb9cb8163d915c8162341d807cd11f992ed8 100644 (file)
@@ -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);
 }
 
This page took 0.027042 seconds and 4 git commands to generate.