VirtualBox

Changeset 101428 in vbox for trunk/include


Ignore:
Timestamp:
Oct 13, 2023 5:39:12 AM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159486
Message:

VMM/HM: Added logging for new SVM features.

Location:
trunk/include
Files:
2 edited

Legend:

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

    r101309 r101428  
    985985    /** SVM: Supports GMET (Guest Mode Execute Trap Extension). */
    986986    uint32_t        fSvmGmet : 1;
     987    /** SVM: Supports AVIC in x2APIC mode. */
     988    uint32_t        fSvmX2Avic : 1;
    987989    /** SVM: Supports SSSCheck (SVM Supervisor Shadow Stack). */
    988990    uint32_t        fSvmSSSCheck : 1;
    989991    /** SVM: Supports SPEC_CTRL virtualization. */
    990992    uint32_t        fSvmSpecCtrl : 1;
     993    /** SVM: Supports Read-Only Guest Page Table feature. */
     994    uint32_t        fSvmRoGpt : 1;
    991995    /** SVM: Supports HOST_MCE_OVERRIDE. */
    992996    uint32_t        fSvmHostMceOverride : 1;
    993997    /** SVM: Supports TlbiCtl (INVLPGB/TLBSYNC in VMCB and TLBSYNC intercept). */
    994998    uint32_t        fSvmTlbiCtl : 1;
     999     /** SVM: Supports NMI virtualization. */
     1000    uint32_t        fSvmVNmi : 1;
     1001    /** SVM: Supports IBS virtualizaiton. */
     1002    uint32_t        fSvmIbsVirt : 1;
     1003    /** SVM: Supports Extended LVT AVIC access changes. */
     1004    uint32_t        fSvmExtLvtAvicAccessChg : 1;
     1005    /** SVM: Supports Guest VMCB address check. */
     1006    uint32_t        fSvmNstVirtVmcbAddrChk : 1;
     1007    /** SVM: Supports Bus Lock Threshold. */
     1008    uint32_t        fSvmBusLockThreshold : 1;
    9951009    /** SVM: Padding / reserved for future features (64 bits total w/ max ASID). */
    996     uint32_t        fSvmPadding0 : 14;
     1010    uint32_t        fSvmPadding0 : 7;
    9971011    /** SVM: Maximum supported ASID. */
    9981012    uint32_t        uSvmMaxAsid;
  • trunk/include/iprt/x86.h

    r101141 r101428  
    884884/** Bit 17 - GMET - Supports Guest Mode Execute Trap Extensions. */
    885885#define X86_CPUID_SVM_FEATURE_EDX_GMET                      RT_BIT(17)
     886/** Bit 18 - X2AVIC - Supports Advanced Virtual Interrupt Controller in x2APIC
     887 *  mode. */
     888#define X86_CPUID_SVM_FEATURE_EDX_X2AVIC                    RT_BIT(18)
    886889/** Bit 19 - SSSCheck - SVM supervisor shadow stack restrictions. */
    887890#define X86_CPUID_SVM_FEATURE_EDX_SSSCHECK                  RT_BIT(19)
    888891/** Bit 20 - SpecCtrl - Supports SPEC_CTRL Virtualization. */
    889892#define X86_CPUID_SVM_FEATURE_EDX_SPEC_CTRL                 RT_BIT(20)
     893/** Bit 21 - ROGPT - Read-Only Guest Page Table. */
     894#define X86_CPUID_SVM_FEATURE_EDX_ROGPT                     RT_BIT(21)
    890895/** Bit 23 - HOST_MCE_OVERRIDE - Supports host \#MC exception override. */
    891896#define X86_CPUID_SVM_FEATURE_EDX_HOST_MCE_OVERRIDE         RT_BIT(23)
    892897/** Bit 24 - TlbiCtl - Supports INVLPGB/TLBSYNC in VMCB and TLBSYNC intercept. */
    893898#define X86_CPUID_SVM_FEATURE_EDX_TLBICTL                   RT_BIT(24)
     899/** Bit 25 - TlbiCtl - Supports virtual NMIs. */
     900#define X86_CPUID_SVM_FEATURE_EDX_VNMI                      RT_BIT(25)
     901/** Bit 26 - TlbiCtl - Supports IBS virtualization. */
     902#define X86_CPUID_SVM_FEATURE_EDX_IBS_VIRT                  RT_BIT(26)
     903/** Bit 27 - TlbiCtl - Supports extended LVT AVIC access changes. */
     904#define X86_CPUID_SVM_FEATURE_EDX_EXT_LVT_AVIC_ACCESS_CHG   RT_BIT(27)
     905/** Bit 28 - TlbiCtl - Supports guest VMCB address check. */
     906#define X86_CPUID_SVM_FEATURE_EDX_NST_VIRT_VMCB_ADDR_CHK    RT_BIT(28)
     907/** Bit 29 - TlbiCtl - Supports INVLPGB/TLBSYNC in VMCB and TLBSYNC intercept. */
     908#define X86_CPUID_SVM_FEATURE_EDX_BUS_LOCK_THRESHOLD        RT_BIT(29)
     909
    894910/** @} */
    895911
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