Skip to content

Commit

Permalink
kvm-stub: fix compilation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini authored and Gleb Natapov committed Aug 28, 2013
1 parent 867c47c commit 821c808
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kvm-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 821c808

Please sign in to comment.