]> git.ipfire.org Git - thirdparty/qemu.git/commit
pci: Use bus master address space for delivering MSI/MSI-X messages
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 27 Jul 2014 07:08:29 +0000 (09:08 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 24 Dec 2014 22:08:15 +0000 (16:08 -0600)
commit7fb768ea303dfe9e2cbf8206c9d570cbb04fb98f
tree1ff675827974916509e6581e99ede0f3deabed52
parent2151206778b62848d3ef15475dee175ad1c3dd78
pci: Use bus master address space for delivering MSI/MSI-X messages

The spec says (and real HW confirms this) that, if the bus master bit
is 0, the device will not generate any PCI accesses. MSI and MSI-X
messages fall among these, so we should use the corresponding address
space to deliver them. This will prevent delivery if bus master support
is disabled.

Cc: qemu-stable@nongnu.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit cc943c36faa192cd4b32af8fe5edb31894017d35)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/pci/msi.c
hw/pci/msix.c