summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-01-25 14:12:33 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-01 15:53:10 -0600
commit6853d27a1253cd29c43d08b0624e7938a48d52a7 (patch)
treefd938e64d30b1e34849815993e27c06b13601a34 /linux-user/syscall.c
parent9d127820ebbdc76592e3922cbbe803533455f9a2 (diff)
downloadfocaccia-qemu-6853d27a1253cd29c43d08b0624e7938a48d52a7.tar.gz
focaccia-qemu-6853d27a1253cd29c43d08b0624e7938a48d52a7.zip
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 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions