VirtualBox

Ignore:
Timestamp:
Oct 26, 2021 7:16:23 AM (3 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10092 The effective EPT memory type must be from the last EPT paging-structure entry used in the translation, so clear any previous accumulated results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllGst.h

    r92046 r92059  
    270270            uint16_t const fIgnorePat = RT_BF_GET(fEptAttrs, VMX_BF_EPT_PT_IGNORE_PAT);
    271271            uint32_t const fEffectiveEpt = ((uint32_t)fEptAttrs << PGMPTWALK_EFF_EPT_ATTR_SHIFT) & PGMPTWALK_EFF_EPT_ATTR_MASK;
    272             fEffective &= RT_BF_MAKE(PGM_BF_PTWALK_EFF_X,  fExecute)
    273                         | RT_BF_MAKE(PGM_BF_PTWALK_EFF_RW, fWrite)
    274                         | RT_BF_MAKE(PGM_BF_PTWALK_EFF_US, 1)
    275                         | RT_BF_MAKE(PGM_BF_PTWALK_EFF_A,  fAccessed)
    276                         | RT_BF_MAKE(PGM_BF_PTWALK_EFF_D,  fDirty)
     272            fEffective &= RT_BF_MAKE(PGM_BF_PTWALK_EFF_X,       fExecute)
     273                        | RT_BF_MAKE(PGM_BF_PTWALK_EFF_RW,      fWrite)
     274                        | RT_BF_MAKE(PGM_BF_PTWALK_EFF_US,      1)
     275                        | RT_BF_MAKE(PGM_BF_PTWALK_EFF_A,       fAccessed)
     276                        | RT_BF_MAKE(PGM_BF_PTWALK_EFF_D,       fDirty)
     277                        | RT_BF_MAKE(PGM_BF_PTWALK_EFF_MEMTYPE, 0)
    277278                        | fEffectiveEpt;
    278279            fEffective |= RT_BF_MAKE(PGM_BF_PTWALK_EFF_MEMTYPE,    fMemType)
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