VirtualBox

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


Ignore:
Timestamp:
Dec 5, 2018 9:21:28 AM (6 years ago)
Author:
vboxsync
Message:

VMM/EM: Nested VMX: bugref:9180 When VINF_VMX_INTERCEPT_NOT_ACTIVE is returned, treat it as VINF_SUCCESS and update rc.

File:
1 edited

Legend:

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

    r75957 r75960  
    21202120        {
    21212121            rc2 = VBOXSTRICTRC_VAL(IEMExecVmxVmexitApicWrite(pVCpu));
    2122             if (rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE)
    2123                 UPDATE_RC();
     2122            if (rc2 == VINF_VMX_INTERCEPT_NOT_ACTIVE)
     2123                rc2 = VINF_SUCCESS;
     2124            UPDATE_RC();
    21242125        }
    21252126#endif
     
    21482149        {
    21492150            rc2 = VBOXSTRICTRC_VAL(IEMExecVmxVmexitPreemptTimer(pVCpu));
    2150             if (rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE)
    2151                 UPDATE_RC();
     2151            if (rc2 == VINF_VMX_INTERCEPT_NOT_ACTIVE)
     2152                rc2 = VINF_SUCCESS;
     2153            UPDATE_RC();
    21522154        }
    21532155#endif
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