VirtualBox

Changeset 81240 in vbox


Ignore:
Timestamp:
Oct 14, 2019 8:22:59 AM (5 years ago)
Author:
vboxsync
Message:

VMM: Log SVM GMET feature bit.

Location:
trunk
Files:
4 edited

Legend:

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

    r80807 r81240  
    11821182    /** SVM: Supports VGIF (Virtual Global Interrupt Flag). */
    11831183    uint32_t        fSvmVGif : 1;
     1184    /** SVM: Supports GMET (Guest Mode Execute Trap Extension). */
     1185    uint32_t        fSvmGmet : 1;
    11841186    /** SVM: Padding / reserved for future features. */
    1185     uint32_t        fSvmPadding0 : 19;
     1187    uint32_t        fSvmPadding0 : 18;
    11861188    /** SVM: Maximum supported ASID. */
    11871189    uint32_t        uSvmMaxAsid;
  • trunk/include/iprt/x86.h

    r80505 r81240  
    818818/** Bit 13 - AVIC - Advanced Virtual Interrupt Controller. */
    819819#define X86_CPUID_SVM_FEATURE_EDX_AVIC                      RT_BIT(13)
    820 /** Bit 15 - V_VMSAVE_VMLOAD - Supports virtualized VMSAVE/VMLOAD. */
     820/** Bit 15 - VMSAVEvirt - Supports virtualized VMSAVE/VMLOAD. */
    821821#define X86_CPUID_SVM_FEATURE_EDX_VIRT_VMSAVE_VMLOAD        RT_BIT(15)
    822 /** Bit 16 - V_VMSAVE_VMLOAD - Supports virtualized GIF. */
     822/** Bit 16 - VGIF - Supports virtualized GIF. */
    823823#define X86_CPUID_SVM_FEATURE_EDX_VGIF                      RT_BIT(16)
     824/** Bit 17 - GMET - Supports Guest Mode Execute Trap Extensions. */
     825#define X86_CPUID_SVM_FEATURE_EDX_GMET                      RT_BIT(17)
     826
    824827/** @} */
    825828
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r81225 r81240  
    19601960                pFeatures->fSvmVirtVmsaveVmload     = RT_BOOL(pSvmLeaf->uEdx & X86_CPUID_SVM_FEATURE_EDX_VIRT_VMSAVE_VMLOAD);
    19611961                pFeatures->fSvmVGif                 = RT_BOOL(pSvmLeaf->uEdx & X86_CPUID_SVM_FEATURE_EDX_VGIF);
     1962                pFeatures->fSvmGmet                 = RT_BOOL(pSvmLeaf->uEdx & X86_CPUID_SVM_FEATURE_EDX_GMET);
    19621963                pFeatures->uSvmMaxAsid              = pSvmLeaf->uEbx;
    19631964            }
     
    63146315    DBGFREGSUBFIELD_RO("VMSAVEVirt\0"     "VMSAVE and VMLOAD Virtualization",           15, 1, 0),
    63156316    DBGFREGSUBFIELD_RO("VGIF\0"           "Virtual Global-Interrupt Flag",              16, 1, 0),
     6317    DBGFREGSUBFIELD_RO("GMET\0"           "Guest Mode Execute Trap Extension",          17, 1, 0),
    63166318    DBGFREGSUBFIELD_TERMINATOR()
    63176319};
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r81150 r81240  
    17311731        HMSVM_REPORT_FEATURE("VIRT_VMSAVE_VMLOAD",     X86_CPUID_SVM_FEATURE_EDX_VIRT_VMSAVE_VMLOAD),
    17321732        HMSVM_REPORT_FEATURE("VGIF",                   X86_CPUID_SVM_FEATURE_EDX_VGIF),
     1733        HMSVM_REPORT_FEATURE("GMET",                   X86_CPUID_SVM_FEATURE_EDX_GMET),
    17331734#undef HMSVM_REPORT_FEATURE
    17341735    };
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