Skip to content

Commit c37a611

Browse files
Sean Christophersonbonzini
authored andcommitted
KVM: nVMX: do not call nested_vmx_succeed() for consistency check VMExit
EFLAGS is set to a fixed value on VMExit, calling nested_vmx_succeed() is unnecessary and wrong. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent cb61de2 commit c37a611

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/kvm/vmx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12787,7 +12787,6 @@ static int nested_vmx_enter_non_root_mode(struct kvm_vcpu *vcpu,
1278712787
load_vmcs12_host_state(vcpu, vmcs12);
1278812788
vmcs12->vm_exit_reason = exit_reason | VMX_EXIT_REASONS_FAILED_VMENTRY;
1278912789
vmcs12->exit_qualification = exit_qual;
12790-
nested_vmx_succeed(vcpu);
1279112790
if (enable_shadow_vmcs)
1279212791
vmx->nested.sync_shadow_vmcs = true;
1279312792
return 1;

0 commit comments

Comments
 (0)