VirtualBox

Changeset 74648 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 7, 2018 6:20:55 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM, CPUM: Nested VMX: bugref:9180 VM-exit bits; Add TPR virtualization for WRMSR.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

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

    r74632 r74648  
    12681268    /** @name VMX Miscellaneous data.
    12691269     * @{ */
    1270     /** VMX: Supports storing EFER.LMA on VM-exits into IA32e-mode guest field. */
    1271     uint32_t        fVmxExitStoreEferLma : 1;
     1270    /** VMX: Supports storing EFER.LMA into IA32e-mode guest field on VM-exit. */
     1271    uint32_t        fVmxExitSaveEferLma : 1;
     1272    /** VMX: Whether Intel PT (Processor Trace) is supported in VMX mode or not. */
     1273    uint32_t        fVmxIntelPt : 1;
    12721274    /** VMX: Supports VMWRITE to any valid VMCS field incl. read-only fields, otherwise
    12731275     *  VMWRITE cannot modify read-only VM-exit information fields. */
     
    12791281
    12801282    /** VMX: Padding / reserved for future features. */
    1281     uint32_t        fVmxPadding1 : 2;
     1283    uint32_t        fVmxPadding1 : 1;
    12821284    uint32_t        fVmxPadding2;
    12831285} CPUMFEATURES;
  • trunk/include/VBox/vmm/hm_vmx.h

    r74604 r74648  
    14571457 */
    14581458/** Whether VM-exit stores EFER.LMA into the "IA32e mode guest" field. */
    1459 #define VMX_MISC_EXIT_STORE_EFER_LMA                            RT_BIT(5)
     1459#define VMX_MISC_EXIT_SAVE_EFER_LMA                             RT_BIT(5)
     1460/** Whether Intel PT is supported in VMX operation. */
     1461#define VMX_MISC_INTEL_PT                                       RT_BIT(14)
    14601462/** Whether VMWRITE to any valid VMCS field incl. read-only fields, otherwise
    14611463 * VMWRITE cannot modify read-only VM-exit information fields. */
     
    14721474#define VMX_BF_MISC_PREEMPT_TIMER_TSC_MASK                      UINT64_C(0x000000000000001f)
    14731475/** Whether VM-exit stores EFER.LMA into the "IA32e mode guest" field. */
    1474 #define VMX_BF_MISC_EXIT_STORE_EFER_LMA_SHIFT                   5
    1475 #define VMX_BF_MISC_EXIT_STORE_EFER_LMA_MASK                    UINT64_C(0x0000000000000020)
     1476#define VMX_BF_MISC_EXIT_SAVE_EFER_LMA_SHIFT                    5
     1477#define VMX_BF_MISC_EXIT_SAVE_EFER_LMA_MASK                     UINT64_C(0x0000000000000020)
    14761478/** Activity states supported by the implementation. */
    14771479#define VMX_BF_MISC_ACTIVITY_STATES_SHIFT                       6
     
    14811483#define VMX_BF_MISC_RSVD_9_13_MASK                              UINT64_C(0x0000000000003e00)
    14821484/** Whether Intel PT (Processor Trace) can be used in VMX operation.  */
    1483 #define VMX_BF_MISC_PT_SHIFT                                    14
    1484 #define VMX_BF_MISC_PT_MASK                                     UINT64_C(0x0000000000004000)
     1485#define VMX_BF_MISC_INTEL_PT_SHIFT                              14
     1486#define VMX_BF_MISC_INTEL_PT_MASK                               UINT64_C(0x0000000000004000)
    14851487/** Whether RDMSR can be used to read IA32_SMBASE MSR in SMM. */
    14861488#define VMX_BF_MISC_SMM_READ_SMBASE_MSR_SHIFT                   15
     
    15111513#define VMX_BF_MISC_MSEG_ID_MASK                                UINT64_C(0xffffffff00000000)
    15121514RT_BF_ASSERT_COMPILE_CHECKS(VMX_BF_MISC_, UINT64_C(0), UINT64_MAX,
    1513                             (PREEMPT_TIMER_TSC, EXIT_STORE_EFER_LMA, ACTIVITY_STATES, RSVD_9_13, PT, SMM_READ_SMBASE_MSR,
     1515                            (PREEMPT_TIMER_TSC, EXIT_SAVE_EFER_LMA, ACTIVITY_STATES, RSVD_9_13, INTEL_PT, SMM_READ_SMBASE_MSR,
    15141516                             CR3_TARGET, MAX_MSRS, VMXOFF_BLOCK_SMI, VMWRITE_ALL, ENTRY_INJECT_SOFT_INT, RSVD_31, MSEG_ID));
    15151517/** @} */
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