aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/vmx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 7d2537ab262b..5d321506b24b 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -9936,14 +9936,6 @@ static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
9936 __write_pkru(vmx->host_pkru); 9936 __write_pkru(vmx->host_pkru);
9937 } 9937 }
9938 9938
9939 /*
9940 * the KVM_REQ_EVENT optimization bit is only on for one entry, and if
9941 * we did not inject a still-pending event to L1 now because of
9942 * nested_run_pending, we need to re-enable this bit.
9943 */
9944 if (vmx->nested.nested_run_pending)
9945 kvm_make_request(KVM_REQ_EVENT, vcpu);
9946
9947 vmx->nested.nested_run_pending = 0; 9939 vmx->nested.nested_run_pending = 0;
9948 vmx->idt_vectoring_info = 0; 9940 vmx->idt_vectoring_info = 0;
9949 9941