qemu-e2k/hw/pci-bridge
Marcel Apfelbaum fced4d00e6 hw/pci-bridge: fix QEMU crash because of pcie-root-port
If we try to use more pcie_root_ports then available slots
and an IO hint is passed to the port, QEMU crashes because
we try to init the "IO hint" capability even if the device
is not created.
Fix it by checking for error before adding the capability,
so QEMU can fail gracefully.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-01-18 21:52:38 +02:00
..
dec.c
dec.h
gen_pcie_root_port.c hw/pci-bridge: fix QEMU crash because of pcie-root-port 2018-01-18 21:52:38 +02:00
i82801b11.c
ioh3420.c
ioh3420.h
Makefile.objs hw/pcie-pci-bridge: restrict to X86 and ARM 2017-11-16 17:46:53 +02:00
pci_bridge_dev.c
pci_expander_bridge.c Merge remote-tracking branch 'origin/master' into HEAD 2018-01-11 22:03:50 +02:00
pcie_pci_bridge.c
pcie_root_port.c
xio3130_downstream.c
xio3130_downstream.h
xio3130_upstream.c
xio3130_upstream.h