]> git.proxmox.com Git - qemu.git/commitdiff
kvm-stub: fix compilation
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Aug 2013 15:13:44 +0000 (17:13 +0200)
committerGleb Natapov <gleb@redhat.com>
Wed, 28 Aug 2013 14:07:02 +0000 (17:07 +0300)
Non-KVM targets fail compilation on the uq/master branch.
Fix the prototype of kvm_irqchip_add_irqfd_notifier to match
the one in kvm-all.c.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
kvm-stub.c

index 7b2233ae8229b6580166b829277621c40798c0e3..806b044124ab9c07630d9b85a07c5a4e4c8a9912 100644 (file)
@@ -135,7 +135,8 @@ int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg)
     return -ENOSYS;
 }
 
-int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq)
+int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n,
+                                   EventNotifier *rn, int virq)
 {
     return -ENOSYS;
 }