qemu-patch-raspberry4/hw/pci
Igor Mammedov 6e1f0a55a1 PCIE: fix regression with coldplugged multifunction device
PCIE is causing asserts each time a multifunction device is added
on command line (coldplug).

This is caused by
commit a66e657e18
    pci/pcie: convert PCIE hotplug to use hotplug-handler API
QEMU abort is caused by misplaced assertion, which should
be checked only when device is hotplugged.

Reference to regression report:
 http://www.mail-archive.com/qemu-devel@nongnu.org/msg216226.html

Fixes: a66e657e18

Reported-By: Nigel Kukard <nkukard+qemu@lbsd.net>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-03-09 21:09:37 +02:00
..
Makefile.objs
msi.c exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
msix.c exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
pci-hotplug-old.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
pci-stub.c
pci.c hw/pci: switch to a generic hotplug handling for PCIDevice 2014-02-10 10:27:00 +02:00
pci_bridge.c
pci_host.c
pcie.c PCIE: fix regression with coldplugged multifunction device 2014-03-09 21:09:37 +02:00
pcie_aer.c
pcie_host.c
pcie_port.c pci/pcie: convert PCIE hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
shpc.c pci/shpc: convert SHPC hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
slotid_cap.c