mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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:
parent
812d2594d5
commit
bbef882cc1
5 changed files with 21 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue