aboutsummaryrefslogtreecommitdiff
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-10-16 16:23:22 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:52:53 +0200
commitab6ef34b906546d85d92dbc3e0fb4e01cce05f62 (patch)
tree7d6d5211b2e6b1cb0f66fe429e5f1d114017b0c2 /drivers/kvm/svm.c
parente25e3ed56fce591e09477b0ce043d90f97988f37 (diff)
KVM: Move apic timer interrupt backlog processing to common code
Beside the obvious goodness of making code more common, this prevents a livelock with the next patch which moves interrupt injection out of the critical section. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r--drivers/kvm/svm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index 7b21576b62b..ef068d2dddd 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -1355,7 +1355,6 @@ static void svm_intr_assist(struct kvm_vcpu *vcpu)
struct vmcb *vmcb = svm->vmcb;
int intr_vector = -1;
- kvm_inject_pending_timer_irqs(vcpu);
if ((vmcb->control.exit_int_info & SVM_EVTINJ_VALID) &&
((vmcb->control.exit_int_info & SVM_EVTINJ_TYPE_MASK) == 0)) {
intr_vector = vmcb->control.exit_int_info &