qemu-e2k/hw/scsi
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
..
esp-pci.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
esp.c scsi: Pass size to scsi_bus_new() 2013-08-30 20:14:39 +02:00
lsi53c895a.c pci, pc, acpi fixes, enhancements 2013-10-31 16:58:32 +01:00
Makefile.objs
megasas.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
mfi.h
scsi-bus.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
scsi-disk.c
scsi-generic.c
spapr_vscsi.c spapr-vscsi: Report error on unsupported MAD requests 2013-09-12 13:15:54 +02:00
srp.h spapr-vscsi: add task management 2013-09-12 08:46:21 +02:00
vhost-scsi.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
viosrp.h
virtio-scsi.c virtio-scsi: Make type virtio-scsi-common abstract 2013-09-12 08:46:21 +02:00
vmw_pvscsi.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
vmw_pvscsi.h