VirtualBox

Changeset 91710 in vbox for trunk/include


Ignore:
Timestamp:
Oct 13, 2021 11:05:26 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147446
Message:

VMM/CPUM: Nested VMX: bugref:10092 Added some VMX CPUMFEATURES' bit. Cleaned up cpumR3AreVmxCpuFeaturesCompatible to avoid some duplication.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r91635 r91710  
    13091309    /** VMX: Supports EPT-violations \#VE. */
    13101310    uint32_t        fVmxEptXcptVe : 1;
     1311    /** VMX: Supports conceal VMX from PT. */
     1312    uint32_t        fVmxConcealVmxFromPt : 1;
    13111313    /** VMX: Supports XSAVES/XRSTORS. */
    13121314    uint32_t        fVmxXsavesXrstors : 1;
     1315    /** VMX: Supports mode-based execute control for EPT. */
     1316    uint32_t        fVmxModeBasedExecuteEpt : 1;
     1317    /** VMX: Supports sub-page write permissions for EPT. */
     1318    uint32_t        fVmxSppEpt : 1;
     1319    /** VMX: Supports Intel PT to output guest-physical addresses for EPT. */
     1320    uint32_t        fVmxPtEpt : 1;
    13131321    /** VMX: Supports TSC scaling. */
    13141322    uint32_t        fVmxUseTscScaling : 1;
     1323    /** VMX: Supports TPAUSE, UMONITOR, or UMWAIT. */
     1324    uint32_t        fVmxUserWaitPause : 1;
     1325    /** VMX: Supports enclave (ENCLV) exiting. */
     1326    uint32_t        fVmxEnclvExit : 1;
    13151327    /** @} */
    13161328
     
    13581370    uint32_t        fVmxExitSaveEferLma : 1;
    13591371    /** VMX: Whether Intel PT (Processor Trace) is supported in VMX mode or not. */
    1360     uint32_t        fVmxIntelPt : 1;
     1372    uint32_t        fVmxPt : 1;
    13611373    /** VMX: Supports VMWRITE to any valid VMCS field incl. read-only fields, otherwise
    13621374     *  VMWRITE cannot modify read-only VM-exit information fields. */
     
    13681380
    13691381    /** VMX: Padding / reserved for future features. */
    1370     uint32_t        fVmxPadding1 : 31;
     1382    uint32_t        fVmxPadding1 : 25;
    13711383} CPUMFEATURES;
    13721384#ifndef VBOX_FOR_DTRACE_LIB
     
    15841596VMM_INT_DECL(int)       CPUMStopGuestVmxPremptTimer(PVMCPUCC pVCpu);
    15851597VMM_INT_DECL(uint32_t)  CPUMGetVmxMsrPermission(void const *pvMsrBitmap, uint32_t idMsr);
     1598VMM_INT_DECL(bool)      CPUMIsGuestVmxEptPagingEnabled(PCVMCPUCC pVCpu);
    15861599/** @} */
    15871600
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