summaryrefslogtreecommitdiffstats
path: root/scripts/git.orderfile
diff options
context:
space:
mode:
authorAleksandr Bezzubikov2017-09-25 01:21:58 +0200
committerMichael S. Tsirkin2017-10-15 04:54:41 +0200
commitd659d94013390238961fac741572306c95496bf5 (patch)
treeea47e88e6539e1e937a2ee0d98d8c6a8bdcc8295 /scripts/git.orderfile
parentpci: allow 32-bit PCI IO accesses to pass through the PCI bridge (diff)
downloadqemu-d659d94013390238961fac741572306c95496bf5.tar.gz
qemu-d659d94013390238961fac741572306c95496bf5.tar.xz
qemu-d659d94013390238961fac741572306c95496bf5.zip
hw/pci-bridge/pcie_pci_bridge: properly handle MSI unavailability case
QEMU with the pcie-pci-bridge device crashes if the guest board doesn't support MSI, e.g. 'qemu-system-ppc64 -M prep -device pcie-pci-bridge'. This is caused by wrong pcie-pci-bridge instantiation error handling. This patch fixes this issue by falling back to legacy INTx if MSI is not available. Also set the bridge's 'msi' property default value to 'auto' in order to trigger errors only when user explicitly set msi=on. Reported-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Aleksandr Bezzubikov <zuban32s@gmail.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Tested-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/git.orderfile')
0 files changed, 0 insertions, 0 deletions