msi: add API to get notified about pending bit poll

Update all users.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2012-12-12 16:10:02 +02:00
parent 812d2594d5
commit bbef882cc1
5 changed files with 21 additions and 4 deletions

View file

@ -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;
}