diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-12-12 16:10:02 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-26 11:49:28 +0200 |
commit | bbef882cc1938fa5a6e1b36a50d79ce5c0cefb81 (patch) | |
tree | 8d07df207beb51343bc8804e4d0776720410ddf5 /hw/virtio-pci.c | |
parent | 812d2594d558f7c4f95c99c8fc58adc47ab68eb3 (diff) | |
download | qemu-bbef882cc1938fa5a6e1b36a50d79ce5c0cefb81.zip qemu-bbef882cc1938fa5a6e1b36a50d79ce5c0cefb81.tar.gz qemu-bbef882cc1938fa5a6e1b36a50d79ce5c0cefb81.tar.bz2 |
msi: add API to get notified about pending bit poll
Update all users.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio-pci.c')
-rw-r--r-- | hw/virtio-pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 1f1a285..37e8b2d 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -637,7 +637,8 @@ static int virtio_pci_set_guest_notifiers(DeviceState *d, bool assign) msix_nr_vectors_allocated(&proxy->pci_dev)); r = msix_set_vector_notifiers(&proxy->pci_dev, kvm_virtio_pci_vector_use, - kvm_virtio_pci_vector_release); + kvm_virtio_pci_vector_release, + NULL); if (r < 0) { goto assign_error; } |