diff options
author | Bandan Das | 2014-03-12 21:02:12 +0100 |
---|---|---|
committer | Andreas Färber | 2014-03-13 01:21:57 +0100 |
commit | 5c21ce77d7e5643089ceec556c0408445d017f32 (patch) | |
tree | 79f8937b618bbdb9b2ad03f5933a9191af3e413d /hw/pci | |
parent | qdev: Prepare realize/unrealize hooks for BusState (diff) | |
download | qemu-5c21ce77d7e5643089ceec556c0408445d017f32.tar.gz qemu-5c21ce77d7e5643089ceec556c0408445d017f32.tar.xz qemu-5c21ce77d7e5643089ceec556c0408445d017f32.zip |
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/pci')
0 files changed, 0 insertions, 0 deletions