diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-25 14:12:33 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-01 15:53:10 -0600 |
commit | 6853d27a1253cd29c43d08b0624e7938a48d52a7 (patch) | |
tree | fd938e64d30b1e34849815993e27c06b13601a34 /hw/kvm | |
parent | 9d127820ebbdc76592e3922cbbe803533455f9a2 (diff) | |
download | qemu-6853d27a1253cd29c43d08b0624e7938a48d52a7.zip qemu-6853d27a1253cd29c43d08b0624e7938a48d52a7.tar.gz qemu-6853d27a1253cd29c43d08b0624e7938a48d52a7.tar.bz2 |
qdev: move deletion of children from finalize to unparent
A device will never be finalized as long as it has a reference from
other devices that sit on its buses. To ensure that the references
go away, deassociate a bus from its children in the unparent callback
for the bus.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/kvm')
0 files changed, 0 insertions, 0 deletions