diff options
Diffstat (limited to 'drivers/kvm/irq.c')
-rw-r--r-- | drivers/kvm/irq.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/kvm/irq.c b/drivers/kvm/irq.c index e09cd65925d6..b88e50115588 100644 --- a/drivers/kvm/irq.c +++ b/drivers/kvm/irq.c | |||
@@ -78,3 +78,16 @@ void kvm_vcpu_kick(struct kvm_vcpu *vcpu) | |||
78 | smp_call_function_single(ipi_pcpu, vcpu_kick_intr, vcpu, 0, 0); | 78 | smp_call_function_single(ipi_pcpu, vcpu_kick_intr, vcpu, 0, 0); |
79 | } | 79 | } |
80 | 80 | ||
81 | void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu) | ||
82 | { | ||
83 | kvm_inject_apic_timer_irqs(vcpu); | ||
84 | /* TODO: PIT, RTC etc. */ | ||
85 | } | ||
86 | EXPORT_SYMBOL_GPL(kvm_inject_pending_timer_irqs); | ||
87 | |||
88 | void kvm_timer_intr_post(struct kvm_vcpu *vcpu, int vec) | ||
89 | { | ||
90 | kvm_apic_timer_intr_post(vcpu, vec); | ||
91 | /* TODO: PIT, RTC etc. */ | ||
92 | } | ||
93 | EXPORT_SYMBOL_GPL(kvm_timer_intr_post); | ||