VirtualBox

Changeset 90161 in vbox


Ignore:
Timestamp:
Jul 12, 2021 11:08:00 PM (4 years ago)
Author:
vboxsync
Message:

VMM: New status VERR_VMM_CONTEXT_HOOK_STILL_ENABLED for guru condition in VMMR0. bugref:10064 ticketref:20090

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r89993 r90161  
    13001300/** NEM returned in the wrong state. */
    13011301#define VERR_VMM_WRONG_NEM_VMCPU_STATE      (-2718)
     1302/** Got back from vmmR0CallRing3SetJmp with the context hook still enabled. */
     1303#define VERR_VMM_CONTEXT_HOOK_STILL_ENABLED (-2719)
    13021304/** @} */
    13031305
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r89912 r90161  
    14841484                             */
    14851485                            if (RT_UNLIKELY(   VMCPU_GET_STATE(pGVCpu) != VMCPUSTATE_STARTED_HM
    1486                                             && RT_SUCCESS_NP(rc)  && rc !=  VINF_VMM_CALL_HOST ))
     1486                                            && RT_SUCCESS_NP(rc)
     1487                                            && rc != VINF_VMM_CALL_HOST ))
    14871488                            {
    14881489                                pGVM->vmm.s.szRing0AssertMsg1[0] = '\0';
     
    14971498                                RTStrPrintf(pGVM->vmm.s.szRing0AssertMsg2, sizeof(pGVM->vmm.s.szRing0AssertMsg2),
    14981499                                            "Thread-context hooks still enabled! VCPU=%p Id=%u rc=%d.\n", pGVCpu, pGVCpu->idCpu, rc);
    1499                                 rc = VERR_INVALID_STATE;
     1500                                rc = VERR_VMM_CONTEXT_HOOK_STILL_ENABLED;
    15001501                            }
    15011502
  • trunk/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp

    r90160 r90161  
    321321        case VINF_EM_DBG_HYPER_ASSERTION:
    322322        case VERR_VMM_RING3_CALL_DISABLED:
     323        case VERR_VMM_WRONG_HM_VMCPU_STATE:
     324        case VERR_VMM_CONTEXT_HOOK_STILL_ENABLED:
    323325        {
    324326            const char *pszMsg1 = VMMR3GetRZAssertMsg1(pVM);
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