VirtualBox

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


Ignore:
Timestamp:
Sep 3, 2008 3:53:35 PM (16 years ago)
Author:
vboxsync
Message:

More release logging for the VERR_VMX_INVALID_VMCS_PTR case.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r11792 r12068  
    22902290            break;
    22912291
     2292        case VERR_VMX_INVALID_VMCS_FIELD:
     2293        case VERR_VMX_INVALID_VMCS_PTR:
     2294        case VERR_VMX_INVALID_VMXON_PTR:
     2295            HWACCMR3CheckError(pVM, rc);
     2296            break;
    22922297        /*
    22932298         * Anything which is not known to us means an internal error
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r11767 r12068  
    22592259    if (rc == VERR_EM_INTERPRETER)
    22602260        rc = VINF_EM_RAW_EMULATE_INSTR;
     2261    else
     2262    /* Try to extract more information about what might have gone wrong here. */
     2263    if (rc == VERR_VMX_INVALID_VMCS_PTR)
     2264    {
     2265        VMXGetActivateVMCS(&pVM->hwaccm.s.vmx.lasterror.u64VMCSPhys);
     2266        pVM->hwaccm.s.vmx.lasterror.ulVMCSRevision = *(uint32_t *)pVM->hwaccm.s.vmx.pVMCS;
     2267    }
    22612268
    22622269    STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatExit, x);
     2270
    22632271    Log2(("X"));
    22642272    return rc;
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