VirtualBox

Ignore:
Timestamp:
Jun 4, 2009 1:14:37 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48156
Message:

Shadow page mode exit fix for AMD-V nested paging. (not called with type nested)

File:
1 edited

Legend:

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

    r19808 r20278  
    221221    Log4(("pgmMapSetShadowPDEs new pde %x (mappings enabled %d)\n", iNewPDE, pgmMapAreMappingsEnabled(&pVM->pgm.s)));
    222222
    223     if (    !pgmMapAreMappingsEnabled(&pVM->pgm.s)
    224         ||  pVM->cCPUs > 1)
     223    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    225224        return;
    226225
     
    389388    Log(("pgmMapClearShadowPDEs: old pde %x (cPTs=%x) (mappings enabled %d) fDeactivateCR3=%RTbool\n", iOldPDE, pMap->cPTs, pgmMapAreMappingsEnabled(&pVM->pgm.s), fDeactivateCR3));
    390389
    391     if (    !pgmMapAreMappingsEnabled(&pVM->pgm.s)
    392         ||  pVM->cCPUs > 1)
     390    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    393391        return;
    394392
     
    633631     * Can skip this if mappings are disabled.
    634632     */
    635     if (    !pgmMapAreMappingsEnabled(&pVM->pgm.s)
    636         ||  pVM->cCPUs > 1)
     633    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    637634        return VINF_SUCCESS;
    638635
     
    669666     * Can skip this if mappings are disabled.
    670667     */
    671     if (    !pgmMapAreMappingsEnabled(&pVM->pgm.s)
    672         ||  pVM->cCPUs > 1)
     668    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    673669        return VINF_SUCCESS;
    674670
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