VirtualBox

Changeset 80811 in vbox


Ignore:
Timestamp:
Sep 16, 2019 6:40:17 AM (5 years ago)
Author:
vboxsync
Message:

VMM/TRPM: Nested VMX: bugref:9180 We need to check for "acknowledge interrupt on VM-exit" while injecting an event through TRPM.

File:
1 edited

Legend:

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

    r80333 r80811  
    413413    {
    414414        *pfInjected = true;
     415#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     416        if (   CPUMIsGuestInVmxNonRootMode(pCtx)
     417            && CPUMIsGuestVmxInterceptEvents(pCtx)
     418            && CPUMIsGuestVmxPinCtlsSet(pVCpu, pCtx, VMX_PIN_CTLS_EXT_INT_EXIT)
     419            && CPUMIsGuestVmxExitCtlsSet(pVCpu, pCtx, VMX_EXIT_CTLS_ACK_EXT_INT))
     420        {
     421            VBOXSTRICTRC rcStrict = IEMExecVmxVmexitExtInt(pVCpu, u8Interrupt, false /* fIntPending */);
     422            Assert(rcStrict != VINF_VMX_INTERCEPT_NOT_ACTIVE);
     423            return VBOXSTRICTRC_VAL(rcStrict);
     424        }
     425#endif
    415426        if (!VM_IS_NEM_ENABLED(pVM))
    416427        {
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