]> git.proxmox.com Git - qemu.git/commit - qom/object.c
qom: preserve object while unparenting it
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2013 13:12:30 +0000 (14:12 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 21:53:09 +0000 (15:53 -0600)
commit52e636cdd8528b8f72f43b653356ac177524912b
tree867e5147f3e8a1be685790bbe0209c496222cd82
parent4fec6404465fdb1f09670b1451605c7cbf87c01e
qom: preserve object while unparenting it

Avoid that the object disappears after it's deleted from the QOM
composition tree, in case that was the only reference to it.

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