hw/prep: realize the PCI root bus as part of the prep init
commit685f9a3428f625f580af0123aa95f4838d86cac3
authorMarcel Apfelbaum <marcel@redhat.com>
Thu, 14 Jul 2016 13:43:45 +0000 (14 16:43 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Jul 2016 16:30:26 +0000 (20 19:30 +0300)
tree4b90edd6484ca8d66728cef61b81a08072c715cc
parent3c3c1e32033ffa7e0613d26dfb15255466dc9829
hw/prep: realize the PCI root bus as part of the prep 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>
hw/pci-host/prep.c