diff options
author | Bandan Das <bsd@redhat.com> | 2014-03-12 21:02:12 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 01:21:57 +0100 |
commit | 5c21ce77d7e5643089ceec556c0408445d017f32 (patch) | |
tree | 79f8937b618bbdb9b2ad03f5933a9191af3e413d /hw/i2c | |
parent | 02e7f85dac3c639b70460ce557cb6c29963db97a (diff) | |
download | hqemu-5c21ce77d7e5643089ceec556c0408445d017f32.zip hqemu-5c21ce77d7e5643089ceec556c0408445d017f32.tar.gz |
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>
Diffstat (limited to 'hw/i2c')
0 files changed, 0 insertions, 0 deletions