qdev: Realize buses on device realization
authorBandan Das <bsd@redhat.com>
Wed, 12 Mar 2014 20:02:12 +0000 (21:02 +0100)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 00:21:57 +0000 (01:21 +0100)
commit5c21ce77d7e5643089ceec556c0408445d017f32
tree79f8937b618bbdb9b2ad03f5933a9191af3e413d
parent02e7f85dac3c639b70460ce557cb6c29963db97a
qdev: Realize buses on device realization

Integrate (un)realization of child buses with realization/unrealization
of the device hosting them. Code in device_unparent() is reordered for
unrealization of buses to work as part of device unrealization.

That way no changes need to be made to bus instantiation.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/core/qdev.c
This page took 0.024962 seconds and 4 git commands to generate.