aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio_pci.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-01-02 08:01:36 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-01-02 08:01:36 -0600
commit079944e695589364d19de31f27761c6bdea1c207 (patch)
tree072caf3ebee747b1ff92ad8e0086ff4edbd7220e /hw/vfio_pci.c
parenta97ff30e934c4d673122cf709e8e87f0effbe2f7 (diff)
parent89d62be9f4fb538db7f919a2be7df2544ffc02c5 (diff)
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
pci,virtio This optimizes MSIX handling in virtio-pci. Also included is pci express capability bugfix. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> * mst/tags/for_anthony: virtio-pci: don't poll masked vectors msix: expose access to masked/pending state msi: add API to get notified about pending bit poll pcie: Fix bug in pcie_ext_cap_set_next virtio: make bindings typesafe
Diffstat (limited to 'hw/vfio_pci.c')
-rw-r--r--hw/vfio_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio_pci.c b/hw/vfio_pci.c
index 41fb7ad1de..28c83031d0 100644
--- a/hw/vfio_pci.c
+++ b/hw/vfio_pci.c
@@ -698,7 +698,7 @@ static void vfio_enable_msix(VFIODevice *vdev)
vdev->interrupt = VFIO_INT_MSIX;
if (msix_set_vector_notifiers(&vdev->pdev, vfio_msix_vector_use,
- vfio_msix_vector_release)) {
+ vfio_msix_vector_release, NULL)) {
error_report("vfio: msix_set_vector_notifiers failed\n");
}