VirtualBox

Changeset 74133 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 7, 2018 6:17:07 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 vmlaunch/vmresume bits.

File:
1 edited

Legend:

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

    r74121 r74133  
    21142114/** Whether the guest IA32_EFER MSR is loaded on VM-entry. */
    21152115#define VMX_ENTRY_CTLS_LOAD_EFER_MSR                            RT_BIT(15)
     2116/** Whether the guest IA32_BNDCFGS MSR is loaded on VM-entry. */
     2117#define VMX_ENTRY_CTLS_LOAD_BNDCFGS_MSR                         RT_BIT(16)
     2118/** Whether to conceal VMX from Intel PT (Processor Trace). */
     2119#define VMX_ENTRY_CTLS_CONCEAL_VMX_PT                           RT_BIT(17)
    21162120/** Default1 class when true-capability MSRs are not supported. */
    21172121#define VMX_ENTRY_CTLS_DEFAULT1                                 UINT32_C(0x000011ff)
     
    21392143#define VMX_BF_ENTRY_CTLS_LOAD_EFER_MSR_SHIFT                   15
    21402144#define VMX_BF_ENTRY_CTLS_LOAD_EFER_MSR_MASK                    UINT32_C(0x00008000)
    2141 #define VMX_BF_ENTRY_CTLS_UNDEF_16_31_SHIFT                     16
    2142 #define VMX_BF_ENTRY_CTLS_UNDEF_16_31_MASK                      UINT32_C(0xffff0000)
     2145#define VMX_BF_ENTRY_CTLS_LOAD_BNDCFGS_MSR_SHIFT                16
     2146#define VMX_BF_ENTRY_CTLS_LOAD_BNDCFGS_MSR_MASK                 UINT32_C(0x00010000)
     2147#define VMX_BF_ENTRY_CTLS_CONCEAL_VMX_PT_SHIFT                  17
     2148#define VMX_BF_ENTRY_CTLS_CONCEAL_VMX_PT_MASK                   UINT32_C(0x00020000)
     2149#define VMX_BF_ENTRY_CTLS_UNDEF_18_31_SHIFT                     18
     2150#define VMX_BF_ENTRY_CTLS_UNDEF_18_31_MASK                      UINT32_C(0xfffc0000)
    21432151RT_BF_ASSERT_COMPILE_CHECKS(VMX_BF_ENTRY_CTLS_, UINT32_C(0), UINT32_MAX,
    21442152                            (UNDEF_0_1, LOAD_DEBUG, UNDEF_3_8, IA32E_MODE_GUEST, ENTRY_SMM, DEACTIVATE_DUAL_MON, UNDEF_12,
    2145                              LOAD_PERF_MSR, LOAD_PAT_MSR, LOAD_EFER_MSR, UNDEF_16_31));
     2153                             LOAD_PERF_MSR, LOAD_PAT_MSR, LOAD_EFER_MSR, LOAD_BNDCFGS_MSR, CONCEAL_VMX_PT, UNDEF_18_31));
    21462154/** @} */
    21472155
     
    34723480    kVmxVInstrDiag_Vmentry_EntryCtlsAllowed1,
    34733481    kVmxVInstrDiag_Vmentry_EntryCtlsDisallowed0,
    3474     kVmxVInstrDiag_Vmentry_HostAddrSpace,
     3482    kVmxVInstrDiag_Vmentry_EntryInstrLen,
     3483    kVmxVInstrDiag_Vmentry_EntryInstrLenZero,
     3484    kVmxVInstrDiag_Vmentry_EntryIntInfoErrCodePe,
     3485    kVmxVInstrDiag_Vmentry_EntryIntInfoErrCodeVec,
     3486    kVmxVInstrDiag_Vmentry_EntryIntInfoTypeVecRsvd,
     3487    kVmxVInstrDiag_Vmentry_EntryXcptErrCodeRsvd,
     3488    kVmxVInstrDiag_Vmentry_ExitCtlsAllowed1,
     3489    kVmxVInstrDiag_Vmentry_ExitCtlsDisallowed0,
     3490    kVmxVInstrDiag_Vmentry_GuestCr0Fixed0,
     3491    kVmxVInstrDiag_Vmentry_GuestCr0Fixed1,
     3492    kVmxVInstrDiag_Vmentry_GuestCr0PgPe,
     3493    kVmxVInstrDiag_Vmentry_GuestCr3,
     3494    kVmxVInstrDiag_Vmentry_GuestCr4Fixed0,
     3495    kVmxVInstrDiag_Vmentry_GuestCr4Fixed1,
     3496    kVmxVInstrDiag_Vmentry_GuestDebugCtl,
     3497    kVmxVInstrDiag_Vmentry_GuestDr7,
     3498    kVmxVInstrDiag_Vmentry_GuestEferMsr,
     3499    kVmxVInstrDiag_Vmentry_GuestEferMsrRsvd,
     3500    kVmxVInstrDiag_Vmentry_GuestPae,
     3501    kVmxVInstrDiag_Vmentry_GuestPatMsr,
     3502    kVmxVInstrDiag_Vmentry_GuestPcide,
     3503    kVmxVInstrDiag_Vmentry_GuestSysenterEspEip,
    34753504    kVmxVInstrDiag_Vmentry_HostCr0Fixed0,
    34763505    kVmxVInstrDiag_Vmentry_HostCr0Fixed1,
     
    34823511    kVmxVInstrDiag_Vmentry_HostCsTr,
    34833512    kVmxVInstrDiag_Vmentry_HostEferMsr,
     3513    kVmxVInstrDiag_Vmentry_HostEferMsrRsvd,
    34843514    kVmxVInstrDiag_Vmentry_HostGuestLongMode,
    34853515    kVmxVInstrDiag_Vmentry_HostGuestLongModeNoCpu,
     
    34923522    kVmxVInstrDiag_Vmentry_HostSs,
    34933523    kVmxVInstrDiag_Vmentry_HostSysenterEspEip,
    3494     kVmxVInstrDiag_Vmentry_EntryInstrLen,
    3495     kVmxVInstrDiag_Vmentry_EntryInstrLenZero,
    3496     kVmxVInstrDiag_Vmentry_EntryIntInfoErrCodePe,
    3497     kVmxVInstrDiag_Vmentry_EntryIntInfoErrCodeVec,
    3498     kVmxVInstrDiag_Vmentry_EntryIntInfoTypeVecRsvd,
    3499     kVmxVInstrDiag_Vmentry_EntryXcptErrCodeRsvd,
    3500     kVmxVInstrDiag_Vmentry_ExitCtlsAllowed1,
    3501     kVmxVInstrDiag_Vmentry_ExitCtlsDisallowed0,
    35023524    kVmxVInstrDiag_Vmentry_LongModeCS,
    35033525    kVmxVInstrDiag_Vmentry_NmiWindowExit,
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