VirtualBox

Changeset 95173 in vbox for trunk


Ignore:
Timestamp:
Jun 2, 2022 2:45:19 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151671
Message:

VMM: Nested VMX: bugref:10092 Guest SLAT walk nits.

File:
1 edited

Legend:

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

    r94983 r95173  
    131131     */
    132132    Assert(!pVCpu->CTX_SUFF(pVM)->cpum.ro.GuestFeatures.fVmxModeBasedExecuteEpt);
    133     uint64_t const fCumulativeEpt = PGM_PTATTRS_EPT_R_MASK
    134                                   | PGM_PTATTRS_EPT_W_MASK
    135                                   | PGM_PTATTRS_EPT_X_SUPER_MASK;
    136     Assert(!(fCumulativeEpt & ~PGM_PTATTRS_EPT_MASK));
     133    uint64_t const fCumulativeEpt = (  PGM_PTATTRS_EPT_R_MASK
     134                                     | PGM_PTATTRS_EPT_W_MASK
     135                                     | PGM_PTATTRS_EPT_X_SUPER_MASK) & PGM_PTATTRS_EPT_MASK;
    137136
    138137    /*
     
    171170        else return PGM_GST_SLAT_NAME_EPT(WalkReturnRsvdError)(pVCpu, pWalk, 4);
    172171
    173         Assert(!pVCpu->CTX_SUFF(pVM)->cpum.ro.GuestFeatures.fVmxModeBasedExecuteEpt);
    174172        uint64_t const fEptAttrs     = Pml4e.u & EPT_PML4E_ATTR_MASK;
    175173        uint8_t const fRead          = RT_BF_GET(fEptAttrs, VMX_BF_EPT_PT_READ);
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