VirtualBox

Changeset 74834 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Oct 15, 2018 7:48:17 AM (6 years ago)
Author:
vboxsync
Message:

VMM/CPUM, TRPM: Nested VMX: bugref:9180 VM-exit bits; Acknowledge interrupt on exit intercept.

File:
1 edited

Legend:

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

    r74789 r74834  
    15191519    if (RT_SUCCESS(rc))
    15201520    {
     1521#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     1522        /* Handle the "acknowledge interrupt on exit" VM-exit intercept. */
     1523        if (CPUMIsGuestInVmxNonRootMode(pCtx))
     1524        {
     1525            if (   CPUMIsGuestVmxExitCtlsSet(pVCpu, pCtx, VMX_EXIT_CTLS_ACK_EXT_INT)
     1526                && CPUMIsGuestVmxPinCtlsSet(pVCpu, pCtx, VMX_PIN_CTLS_EXT_INT_EXIT))
     1527            {
     1528                VBOXSTRICTRC rcStrict = IEMExecVmxVmexitExtInt(pVCpu, u8Interrupt, false /* fIntPending */);
     1529                if (rcStrict != VINF_VMX_INTERCEPT_NOT_ACTIVE)
     1530                    return rcStrict;
     1531            }
     1532        }
     1533#endif
    15211534        if (EMIsSupervisorCodeRecompiled(pVM) || !VM_IS_RAW_MODE_ENABLED(pVM))
    15221535        {
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