aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 60228888d1b5..9b54550fa4d2 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1519,6 +1519,7 @@ static inline void svm_inject_irq(struct vcpu_svm *svm, int irq)
1519 1519
1520 KVMTRACE_1D(INJ_VIRQ, &svm->vcpu, (u32)irq, handler); 1520 KVMTRACE_1D(INJ_VIRQ, &svm->vcpu, (u32)irq, handler);
1521 1521
1522 ++svm->vcpu.stat.irq_injections;
1522 control = &svm->vmcb->control; 1523 control = &svm->vmcb->control;
1523 control->int_vector = irq; 1524 control->int_vector = irq;
1524 control->int_ctl &= ~V_INTR_PRIO_MASK; 1525 control->int_ctl &= ~V_INTR_PRIO_MASK;