qemu-e2k/hw/virtio
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
..
dataplane virtio: clear signalled_used_valid when switching from dataplane 2013-08-12 12:19:04 +03:00
Makefile.objs virtio: Implement MMIO based virtio transport 2013-07-19 12:58:47 +01:00
vhost.c vhost: clear signalled_used_valid on vhost stop 2013-08-12 12:25:17 +03:00
virtio-balloon.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
virtio-bus.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
virtio-mmio.c qdev: Pass size to qbus_create_inplace() 2013-08-30 21:15:35 +02:00
virtio-pci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
virtio-pci.h virtio-pci: cleanup. 2013-04-24 11:50:20 -05:00
virtio-rng.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
virtio.c virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table 2013-08-25 12:52:33 +03:00