VirtualBox

Changeset 28285 in vbox


Ignore:
Timestamp:
Apr 14, 2010 10:00:45 AM (15 years ago)
Author:
vboxsync
Message:

We don't pass on invlpg information to the recompiler for nested paging guests, so we must make sure the recompiler flushes its TLB
the next time it executes code.

File:
1 edited

Legend:

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

    r27630 r28285  
    11531153
    11541154    rc = HWACCMR0Globals.pfnLeaveSession(pVM, pVCpu, pCtx);
     1155
     1156    /* We don't pass on invlpg information to the recompiler for nested paging guests, so we must make sure the recompiler flushes its TLB
     1157     * the next time it executes code.
     1158     */
     1159    if (    pVM->hwaccm.s.fNestedPaging
     1160        &&  CPUMIsGuestInPagedProtectedModeEx(pCtx))
     1161    {
     1162        CPUMSetChangedFlags(pVCpu, CPUM_CHANGED_GLOBAL_TLB_FLUSH);
     1163    }
    11551164
    11561165    /* keep track of the CPU owning the VMCS for debugging scheduling weirdness and ring-3 calls. */
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