qemu-e2k/hw/pci-bridge
Wei Jiangang 2e4278b534 hw/pci-bridge: Add missing unref in case register-bus fails
The error paths after a successful qdev_create/pci_bus_new
should contain a object_unref/object_unparent.
pxb_dev_init_common() did not yet, so add it.

Signed-off-by: Wei Jiangang <weijg.fnst@cn.fujitsu.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
2016-04-07 19:57:33 +03:00
..
Makefile.objs hw/pci: introduce PCI Expander Bridge (PXB) 2015-06-03 18:19:18 +02:00
dec.c dec: convert to realize() 2016-02-16 12:05:18 +02:00
dec.h dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
i82801b11.c Migration: Add i82801b11 migration data 2016-04-07 19:57:33 +03:00
ioh3420.c aer: impove pcie_aer_init to support vfio device 2016-02-19 09:42:28 -07:00
ioh3420.h ioh3420: remove unused ioh3420_init() declaration 2014-09-02 17:28:26 +03:00
pci_bridge_dev.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
pci_expander_bridge.c hw/pci-bridge: Add missing unref in case register-bus fails 2016-04-07 19:57:33 +03:00
xio3130_downstream.c aer: impove pcie_aer_init to support vfio device 2016-02-19 09:42:28 -07:00
xio3130_downstream.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xio3130_upstream.c aer: impove pcie_aer_init to support vfio device 2016-02-19 09:42:28 -07:00
xio3130_upstream.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00