|
@@ -5739,8 +5739,6 @@ static int vmx_handle_exit(struct kvm_vcpu *vcpu)
|
|
|
u32 exit_reason = vmx->exit_reason;
|
|
|
u32 vectoring_info = vmx->idt_vectoring_info;
|
|
|
|
|
|
- trace_kvm_exit(exit_reason, vcpu, KVM_ISA_VMX);
|
|
|
-
|
|
|
/* If guest state is invalid, start emulating */
|
|
|
if (vmx->emulation_required && emulate_invalid_guest_state)
|
|
|
return handle_invalid_guest_state(vcpu);
|
|
@@ -6144,6 +6142,7 @@ static void __noclone vmx_vcpu_run(struct kvm_vcpu *vcpu)
|
|
|
vmx->loaded_vmcs->launched = 1;
|
|
|
|
|
|
vmx->exit_reason = vmcs_read32(VM_EXIT_REASON);
|
|
|
+ trace_kvm_exit(vmx->exit_reason, vcpu, KVM_ISA_VMX);
|
|
|
|
|
|
vmx_complete_atomic_exit(vmx);
|
|
|
vmx_recover_nmi_blocking(vmx);
|