]> Git Repo - qemu.git/commit
qdev: move deletion of children from finalize to unparent
authorPaolo Bonzini <[email protected]>
Fri, 25 Jan 2013 13:12:33 +0000 (14:12 +0100)
committerAnthony Liguori <[email protected]>
Fri, 1 Feb 2013 21:53:10 +0000 (15:53 -0600)
commit6853d27a1253cd29c43d08b0624e7938a48d52a7
treefd938e64d30b1e34849815993e27c06b13601a34
parent9d127820ebbdc76592e3922cbbe803533455f9a2
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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/qdev.c
This page took 0.025616 seconds and 4 git commands to generate.