VirtualBox

Changeset 74171 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 10, 2018 7:48:40 AM (6 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

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

    r74166 r74171  
    24232423/** The logical processor is active. */
    24242424#define VMX_VMCS_GUEST_ACTIVITY_ACTIVE                          0x0
    2425 /** The logical processor is inactive, because executed a HLT instruction. */
     2425/** The logical processor is inactive, because it executed a HLT instruction. */
    24262426#define VMX_VMCS_GUEST_ACTIVITY_HLT                             0x1
    24272427/** The logical processor is inactive, because of a triple fault or other serious error. */
     
    24392439#define VMX_VMCS_GUEST_INT_STATE_BLOCK_SMI                      RT_BIT(2)
    24402440#define VMX_VMCS_GUEST_INT_STATE_BLOCK_NMI                      RT_BIT(3)
     2441#define VMX_VMCS_GUEST_INT_STATE_ENCLAVE                        RT_BIT(4)
     2442
     2443/** Mask of the guest-interruptibility state field (bits 31:5 MBZ). */
     2444#define VMX_VMCS_GUEST_INT_STATE_MASK                           UINT32_C(0x1f)
    24412445/** @} */
    24422446
     
    28452849#define VMX_V_CR3_TARGET_COUNT                                  4
    28462850/** Activity states supported. */
    2847 #define VMX_V_GUEST_ACTIVITY_STATE_MASK                         (VMX_VMCS_GUEST_ACTIVITY_HLT)
     2851#define VMX_V_GUEST_ACTIVITY_STATE_MASK                         (VMX_VMCS_GUEST_ACTIVITY_HLT | VMX_VMCS_GUEST_ACTIVITY_SHUTDOWN)
    28482852/** VMX preemption-timer shift (Core i7-2600 taken as reference). */
    28492853#define VMX_V_PREEMPT_TIMER_SHIFT                               5
     
    35103514    kVmxVDiag_Vmentry_GuestIdtrBase,
    35113515    kVmxVDiag_Vmentry_GuestIdtrLimit,
     3516    kVmxVDiag_Vmentry_GuestIntStateEnclave,
     3517    kVmxVDiag_Vmentry_GuestIntStateExtInt,
     3518    kVmxVDiag_Vmentry_GuestIntStateNmi,
     3519    kVmxVDiag_Vmentry_GuestIntStateRFlagsSti,
     3520    kVmxVDiag_Vmentry_GuestIntStateRsvd,
     3521    kVmxVDiag_Vmentry_GuestIntStateSmi,
     3522    kVmxVDiag_Vmentry_GuestIntStateStiMovSs,
     3523    kVmxVDiag_Vmentry_GuestIntStateVirtNmi,
    35123524    kVmxVDiag_Vmentry_GuestPae,
    35133525    kVmxVDiag_Vmentry_GuestPatMsr,
     
    36373649    kVmxVDiag_Vmentry_SavePreemptTimer,
    36383650    kVmxVDiag_Vmentry_Success,
    3639     kVmxVDiag_Vmentry_TprThreshold,
     3651    kVmxVDiag_Vmentry_TprThresholdRsvd,
    36403652    kVmxVDiag_Vmentry_TprThresholdVTpr,
    36413653    kVmxVDiag_Vmentry_VirtApicPagePtrReadPhys,
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