aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-01-27 12:12:38 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:03:08 -0400
commit44882eed2ebe7f75f8cdae5671ab1d6e0fa40dbc (patch)
treee026a4067370e2dac1a5a3a9d9995e2b6f82ba49 /include/linux/kvm_host.h
parent934d534f8a5a39e20d5682b3a3a45ff351706b59 (diff)
KVM: make irq ack notifications aware of routing table
IRQ ack notifications assume an identity mapping between pin->gsi, which might not be the case with, for example, HPET. Translate before acking. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Acked-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index ce285e01bd57..c03a0a9a8584 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -352,7 +352,7 @@ void kvm_unregister_irq_mask_notifier(struct kvm *kvm, int irq,
352void kvm_fire_mask_notifiers(struct kvm *kvm, int irq, bool mask); 352void kvm_fire_mask_notifiers(struct kvm *kvm, int irq, bool mask);
353 353
354void kvm_set_irq(struct kvm *kvm, int irq_source_id, int irq, int level); 354void kvm_set_irq(struct kvm *kvm, int irq_source_id, int irq, int level);
355void kvm_notify_acked_irq(struct kvm *kvm, unsigned gsi); 355void kvm_notify_acked_irq(struct kvm *kvm, unsigned irqchip, unsigned pin);
356void kvm_register_irq_ack_notifier(struct kvm *kvm, 356void kvm_register_irq_ack_notifier(struct kvm *kvm,
357 struct kvm_irq_ack_notifier *kian); 357 struct kvm_irq_ack_notifier *kian);
358void kvm_unregister_irq_ack_notifier(struct kvm_irq_ack_notifier *kian); 358void kvm_unregister_irq_ack_notifier(struct kvm_irq_ack_notifier *kian);