aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r--drivers/kvm/kvm_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 5fd2864b7811..4c96817929fd 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -2144,6 +2144,8 @@ again:
2144 if (unlikely(r)) 2144 if (unlikely(r))
2145 goto out; 2145 goto out;
2146 2146
2147 kvm_inject_pending_timer_irqs(vcpu);
2148
2147 preempt_disable(); 2149 preempt_disable();
2148 2150
2149 kvm_x86_ops->prepare_guest_switch(vcpu); 2151 kvm_x86_ops->prepare_guest_switch(vcpu);