VirtualBox

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


Ignore:
Timestamp:
Sep 1, 2023 1:57:59 PM (15 months ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10318 Fix performance issue with Hyper-V enabled Windows Server 2012 R2 guests.

File:
1 edited

Legend:

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

    r100965 r101001  
    17291729        /* We currently do -not- shadow reserved bits in guest page tables but instead trap them using non-present permissions,
    17301730           see todo in (NestedSyncPT). */
    1731         pVCpu->pgm.s.fGstEptShadowedPteMask    = EPT_PRESENT_MASK | EPT_E_MEMTYPE_MASK | EPT_E_IGNORE_PAT;
     1731        pVCpu->pgm.s.fGstEptShadowedPteMask    = EPT_PRESENT_MASK;
    17321732        pVCpu->pgm.s.fGstEptShadowedPdeMask    = EPT_PRESENT_MASK;
    1733         pVCpu->pgm.s.fGstEptShadowedBigPdeMask = EPT_PRESENT_MASK | EPT_E_MEMTYPE_MASK | EPT_E_IGNORE_PAT | EPT_E_LEAF;
    1734         pVCpu->pgm.s.fGstEptShadowedPdpteMask  = EPT_PRESENT_MASK | EPT_E_MEMTYPE_MASK | EPT_E_IGNORE_PAT | EPT_E_LEAF;
     1733        pVCpu->pgm.s.fGstEptShadowedBigPdeMask = EPT_PRESENT_MASK | EPT_E_LEAF;
     1734        pVCpu->pgm.s.fGstEptShadowedPdpteMask  = EPT_PRESENT_MASK;
    17351735        pVCpu->pgm.s.fGstEptShadowedPml4eMask  = EPT_PRESENT_MASK | EPT_PML4E_MBZ_MASK;
    17361736        /* If mode-based execute control for EPT is enabled, we would need to include bit 10 in the present mask. */
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