Home
last modified time | relevance | path

Searched hist:"667 d22d1" (Results 1 – 1 of 1) sorted by relevance

/qemu/qom/
H A Dobject.c667d22d1 Fri Nov 23 08:47:13 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> qdev: move bus removal to object_unparent

Add an ObjectClass method that is done at object_unparent time. It
should remove any backlinks to the object in the composition tree,
so that object_delete will be able to drop the last reference and
free the object.

Use it for qdev buses.

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>