VirtualBox

Changeset 48443 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 12, 2013 9:46:35 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Leave VT-x properly for VERR_VMX_INVALID_GUEST_STATE and VERR_VMX_INVALID_VMCS_PTR gurus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r48436 r48443  
    62626262    HMVMX_ASSERT_PREEMPT_SAFE();
    62636263
    6264     if (RT_UNLIKELY(rcExit == VERR_VMX_INVALID_GUEST_STATE))
    6265     {
    6266         /* We've done what is required in hmR0VmxExitErrInvalidGuestState(). We're not going to continue guest execution... */
    6267         return VINF_SUCCESS;
    6268     }
    6269     else if (RT_UNLIKELY(rcExit == VERR_VMX_INVALID_VMCS_PTR))
     6264    if (RT_UNLIKELY(rcExit == VERR_VMX_INVALID_VMCS_PTR))
    62706265    {
    62716266        VMXGetActivatedVmcs(&pVCpu->hm.s.vmx.LastError.u64VMCSPhys);
     
    62736268        pVCpu->hm.s.vmx.LastError.idEnteredCpu    = pVCpu->hm.s.idEnteredCpu;
    62746269        /* LastError.idCurrentCpu was updated in hmR0VmxPreRunGuestCommitted(). */
    6275         return VINF_SUCCESS;
    62766270    }
    62776271
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette