commit | 5c21ce77d7e5643089ceec556c0408445d017f32 | [log] [tgz] |
---|---|---|
author | Bandan Das <bsd@redhat.com> | Wed Mar 12 21:02:12 2014 +0100 |
committer | Andreas Färber <afaerber@suse.de> | Thu Mar 13 01:21:57 2014 +0100 |
tree | 79f8937b618bbdb9b2ad03f5933a9191af3e413d | |
parent | 02e7f85dac3c639b70460ce557cb6c29963db97a [diff] |
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>