mirror_qemu/hw/pci
Stefan Hajnoczi 6780a22cc7 qdev: Drop misleading qbus_free() function
Same reasoning as commit 02a5c4c974
("qdev: Drop misleading qdev_free() function").  The qbus_free()
function removes the child from the namespace and decrements the
reference count.  It does not, however, guarantee to free the child
since the refcount may still be held.

Just call object_unparent() directly.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-12-24 18:02:18 +01:00
..
Makefile.objs Makefile.target: CONFIG_NO_* variables removed 2013-10-16 18:21:00 +02:00
msi.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
msix.c hw/p*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
pci-hotplug-old.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
pci-stub.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci.c pci: fix pci bridge fw path 2013-12-11 20:11:08 +02:00
pci_bridge.c qdev: Drop misleading qbus_free() function 2013-12-24 18:02:18 +01:00
pci_host.c pci: add config space access traces 2013-08-28 10:11:23 +03:00
pcie.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
pcie_aer.c bswap.h: Remove cpu_to_be32wu() 2013-11-05 19:57:47 -08:00
pcie_host.c pcie_host: expose address format 2013-10-14 17:48:51 +03:00
pcie_port.c pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types 2013-07-29 20:45:24 +02:00
shpc.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
slotid_cap.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00