aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 25a791ed21c8..260a91939555 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -5434,6 +5434,12 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu)
5434 return 0; 5434 return 0;
5435 } 5435 }
5436 5436
5437 if (vcpu->arch.halt_request) {
5438 vcpu->arch.halt_request = 0;
5439 ret = kvm_emulate_halt(vcpu);
5440 goto out;
5441 }
5442
5437 if (signal_pending(current)) 5443 if (signal_pending(current))
5438 goto out; 5444 goto out;
5439 if (need_resched()) 5445 if (need_resched())