VirtualBox

Changeset 87831 in vbox


Ignore:
Timestamp:
Feb 22, 2021 8:44:54 AM (4 years ago)
Author:
vboxsync
Message:

VMM: Some modification for r142732 to make it work with KVM nested guests as well

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

Legend:

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

    r87636 r87831  
    1391513915                      /* nested hw.virt codes: */
    1391613916                      || rcStrict == VINF_VMX_VMEXIT
     13917                      || rcStrict == VINF_VMX_INTERCEPT_NOT_ACTIVE
    1391713918                      || rcStrict == VINF_VMX_MODIFIES_BEHAVIOR
    1391813919                      || rcStrict == VINF_SVM_VMEXIT
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r87754 r87831  
    90969096#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    90979097                if (    fIsNestedGuest
    9098                     &&  CPUMIsGuestVmxPinCtlsSet(pCtx, VMX_PIN_CTLS_EXT_INT_EXIT)
    9099                     && !CPUMIsGuestVmxExitCtlsSet(pCtx, VMX_EXIT_CTLS_ACK_EXT_INT))
     9098                    &&  CPUMIsGuestVmxPinCtlsSet(pCtx, VMX_PIN_CTLS_EXT_INT_EXIT))
    91009099                {
    91019100                    VBOXSTRICTRC rcStrict = IEMExecVmxVmexitExtInt(pVCpu, 0 /* uVector */, true /* fIntPending */);
    9102                     Assert(rcStrict != VINF_VMX_INTERCEPT_NOT_ACTIVE);
    9103                     return rcStrict;
     9101                    if (rcStrict != VINF_VMX_INTERCEPT_NOT_ACTIVE)
     9102                        return rcStrict;
    91049103                }
    91059104#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