aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/irq.h
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-10-06 01:48:45 -0400
committerAvi Kivity <avi@redhat.com>2008-10-15 08:25:35 -0400
commit3de42dc094ecd313dc7d551e007a134b52f8663d (patch)
treecba836b4cd719e6a98f640fecec41ce5d23d9ce7 /arch/x86/kvm/irq.h
parentc77fb9dc7a0383c86eabef30272a763a482403e1 (diff)
KVM: Separate irq ack notification out of arch/x86/kvm/irq.c
Moving irq ack notification logic as common, and make it shared with ia64 side. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/irq.h')
-rw-r--r--arch/x86/kvm/irq.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h
index 4748532fd1da..f17c8f5bbf31 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -68,7 +68,6 @@ struct kvm_pic {
68}; 68};
69 69
70struct kvm_pic *kvm_create_pic(struct kvm *kvm); 70struct kvm_pic *kvm_create_pic(struct kvm *kvm);
71void kvm_pic_set_irq(void *opaque, int irq, int level);
72int kvm_pic_read_irq(struct kvm *kvm); 71int kvm_pic_read_irq(struct kvm *kvm);
73void kvm_pic_update_irq(struct kvm_pic *s); 72void kvm_pic_update_irq(struct kvm_pic *s);
74void kvm_pic_clear_isr_ack(struct kvm *kvm); 73void kvm_pic_clear_isr_ack(struct kvm *kvm);
@@ -85,13 +84,6 @@ static inline int irqchip_in_kernel(struct kvm *kvm)
85 84
86void kvm_pic_reset(struct kvm_kpic_state *s); 85void kvm_pic_reset(struct kvm_kpic_state *s);
87 86
88void kvm_set_irq(struct kvm *kvm, int irq, int level);
89void kvm_notify_acked_irq(struct kvm *kvm, unsigned gsi);
90void kvm_register_irq_ack_notifier(struct kvm *kvm,
91 struct kvm_irq_ack_notifier *kian);
92void kvm_unregister_irq_ack_notifier(struct kvm *kvm,
93 struct kvm_irq_ack_notifier *kian);
94
95void kvm_timer_intr_post(struct kvm_vcpu *vcpu, int vec); 87void kvm_timer_intr_post(struct kvm_vcpu *vcpu, int vec);
96void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu); 88void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu);
97void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu); 89void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu);