aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-08-27 17:13:44 +0200
committerGleb Natapov <gleb@redhat.com>2013-08-28 17:07:02 +0300
commit821c808bd1863efc2c1e977800ae77db633a185c (patch)
treeb335702ed6a9dd9e03f416d190603fca04d9460e /kvm-stub.c
parent867c47cbba5d5ff8f27cc22634f30da56d09c2c4 (diff)
kvm-stub: fix compilation
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>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index 7b2233ae82..806b044124 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -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;
}