summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2014-05-26 17:39:51 -0700
committerAndreas Färber <afaerber@suse.de>2014-06-30 21:13:30 +0200
commitd15ae221eada39949b025d641f82d2c4a2ad8dde (patch)
tree5d542dafe8a55f3a5103fab594168e92deacb30e /hw/core/qdev.c
parent53a259da5697ec8a82463161e2e32ff942a08bc2 (diff)
downloadfocaccia-qemu-d15ae221eada39949b025d641f82d2c4a2ad8dde.tar.gz
focaccia-qemu-d15ae221eada39949b025d641f82d2c4a2ad8dde.zip
qom: Remove parent pointer when unparenting
Certain parts of the QOM framework test this pointer to determine if
an object is parented. Nuke it when the object is unparented to allow
for reuse of an object after unparenting.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions