diff options
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 95fa45c0f16e..e3d9040f2156 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3506,6 +3506,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
3506 | smp_mb__after_clear_bit(); | 3506 | smp_mb__after_clear_bit(); |
3507 | 3507 | ||
3508 | if (vcpu->requests || need_resched() || signal_pending(current)) { | 3508 | if (vcpu->requests || need_resched() || signal_pending(current)) { |
3509 | set_bit(KVM_REQ_KICK, &vcpu->requests); | ||
3509 | local_irq_enable(); | 3510 | local_irq_enable(); |
3510 | preempt_enable(); | 3511 | preempt_enable(); |
3511 | r = 1; | 3512 | r = 1; |