hw/versatile: realize the PCI root bus as part of the versatile init
'Realize' the PCI root bus manually since the 'realize' mechanism does not propagate to child devices yet. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
685f9a3428
commit
b1af7959a6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user