VirtualBox

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


Ignore:
Timestamp:
Jul 1, 2019 6:04:13 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131709
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Remove interrupt-window and NMI-window exiting from the VMCS only for the outer guest on exits to ring-3 as we only set it for outer guests currently in hmR0VmxEvaluatePendingEvent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r79432 r79453  
    93099309     * (e.g. TPR below threshold).
    93109310     */
    9311     int rc = hmR0VmxClearIntWindowExitVmcs(pVmcsInfo);
    9312     rc    |= hmR0VmxClearNmiWindowExitVmcs(pVmcsInfo);
    9313     AssertRCReturn(rc, rc);
     9311    if (!CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.GstCtx))
     9312    {
     9313        int rc = hmR0VmxClearIntWindowExitVmcs(pVmcsInfo);
     9314        rc    |= hmR0VmxClearNmiWindowExitVmcs(pVmcsInfo);
     9315        AssertRCReturn(rc, rc);
     9316    }
    93149317
    93159318    /* If we're emulating an instruction, we shouldn't have any TRPM traps pending
     
    93219324
    93229325    /* Save guest state and restore host state bits. */
    9323     rc = hmR0VmxLeaveSession(pVCpu);
     9326    int rc = hmR0VmxLeaveSession(pVCpu);
    93249327    AssertRCReturn(rc, rc);
    93259328    STAM_COUNTER_DEC(&pVCpu->hm.s.StatSwitchLongJmpToR3);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette