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
..
dec.c dec: convert to realize() 2016-02-16 12:05:18 +02:00
dec.h
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
Makefile.objs
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
xio3130_upstream.c aer: impove pcie_aer_init to support vfio device 2016-02-19 09:42:28 -07:00
xio3130_upstream.h