VirtualBox

Changeset 95048 in vbox


Ignore:
Timestamp:
May 20, 2022 7:28:15 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151511
Message:

GCM: Corrected return codes.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h

    r94944 r95048  
    68566856        if (rc2 == VINF_SUCCESS)
    68576857            rcStrict = VINF_SUCCESS;    /* Restart instruction with modified guest register context. */
    6858         else if (rc2 == VINF_EM_RAW_GUEST_TRAP)
     6858        else if (rc2 == VERR_NOT_FOUND)
    68596859            rcStrict = VERR_NOT_FOUND;  /* Deliver the exception. */
    68606860        else
     
    68656865
    68666866    /* If the GCM #DE exception handler didn't succeed or wasn't needed, raise #DE. */
    6867     if (RT_FAILURE(rc))
     6867    if (RT_FAILURE(rcStrict))
    68686868    {
    68696869        vmxHCSetPendingEvent(pVCpu, VMX_ENTRY_INT_INFO_FROM_EXIT_INT_INFO(pVmxTransient->uExitIntInfo),
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r94944 r95048  
    84058405        if (rcStrict == VINF_SUCCESS)
    84068406            rc = VINF_SUCCESS;      /* Restart instruction with modified guest register context. */
    8407         else if (rcStrict == VINF_EM_RAW_GUEST_TRAP)
     8407        else if (rcStrict == VERR_NOT_FOUND)
    84088408            rc = VERR_NOT_FOUND;    /* Deliver the exception. */
    84098409        else
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