[RFC PATCH 12/13] hw/virtio-pci-new.c : little fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: KONRAD Frederic <fred.konrad@xxxxxxxxxxxxx>

---
 hw/virtio-pci-new.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/virtio-pci-new.c b/hw/virtio-pci-new.c
index c1650b5..04f0da4 100644
--- a/hw/virtio-pci-new.c
+++ b/hw/virtio-pci-new.c
@@ -526,7 +526,7 @@ static int kvm_virtio_pci_vq_vector_use(VirtIOPCI *s,
     }
     irqfd->users++;
 
-    ret = kvm_irqchip_add_irqfd_notifier(kvm_state, n, irqfd->virq);
+    ret = kvm_irqchip_add_irq_notifier(kvm_state, n, irqfd->virq);
     if (ret < 0) {
         if (--irqfd->users == 0) {
             kvm_irqchip_release_virq(kvm_state, irqfd->virq);
@@ -547,7 +547,7 @@ static void kvm_virtio_pci_vq_vector_release(VirtIOPCI *s,
     VirtIOIRQFD *irqfd = &s->vector_irqfd[vector];
     int ret;
 
-    ret = kvm_irqchip_remove_irqfd_notifier(kvm_state, n, irqfd->virq);
+    ret = kvm_irqchip_remove_irq_notifier(kvm_state, n, irqfd->virq);
     assert(ret == 0);
 
     if (--irqfd->users == 0) {
-- 
1.7.11.4

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux