qemu-e2k/hw/pci-bridge
Paolo Bonzini 5cd5e70159 pci: split shpc_cleanup and shpc_free
object_unparent should not be called until the parent device is going to be
destroyed.  Only remove the capability and do memory_region_del_subregion
at unrealize time.  Freeing the data structures is left in shpc_free, to
be called from the instance_finalize callback.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-02-16 17:30:14 +01:00
..
dec.c pci-host: Consistently set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +01:00
dec.h dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
i82801b11.c i82801b11: Fix i82801b11 PCI host bridge config space 2013-08-12 12:07:12 +03:00
ioh3420.c ioh3420: Enable ARI forwarding 2014-08-25 00:16:06 +02:00
ioh3420.h ioh3420: remove unused ioh3420_init() declaration 2014-09-02 17:28:26 +03:00
Makefile.objs dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
pci_bridge_dev.c pci: split shpc_cleanup and shpc_free 2015-02-16 17:30:14 +01:00
xio3130_downstream.c pcie: Rename the pcie_cap_ari_* functions to pcie_cap_arifwd_* 2014-08-25 00:16:06 +02:00
xio3130_downstream.h
xio3130_upstream.c savevm: Remove all the unneeded version_minimum_id_old (x86) 2014-06-16 04:55:26 +02:00
xio3130_upstream.h