xemu/hw/xen
Stefan Hajnoczi 02a5c4c974 qdev: Drop misleading qdev_free() function
The qdev_free() function name is misleading since all the function does
is unlink the device from its parent.  The device is not necessarily
freed.

The device will be freed when its QObject refcount reaches zero.  It is
usual for the parent (bus) to hold the final reference but there are
cases where something else holds a reference so "free" is a misleading
name.

Call object_unparent(obj) directly instead of having a qdev wrapper
function.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-11-05 18:06:38 +01:00
..
Makefile.objs Xen PV Device 2013-07-29 11:13:44 +00:00
xen_apic.c hw/[u-x]*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
xen_backend.c qemu/xen: make use of xenstore relative paths 2013-10-10 14:25:52 +00:00
xen_devconfig.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
xen_platform.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
xen_pt_config_init.c hw/xen: Use g_free instead of free and fix potential memory leaks 2013-06-11 23:45:44 +04:00
xen_pt_msi.c hw/[u-x]*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
xen_pt.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
xen_pt.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_pvdevice.c Xen PV Device 2013-07-29 11:13:44 +00:00
xen-host-pci-device.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen-host-pci-device.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00