Changeset 74103 in vbox for trunk/include/VBox
- Timestamp:
- Sep 6, 2018 4:57:57 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm_vmx.h
r74073 r74103 2155 2155 /** Return to long mode after a VM-exit. */ 2156 2156 #define VMX_EXIT_CTLS_HOST_ADDR_SPACE_SIZE RT_BIT(9) 2157 /** Whether the guest IA32_PERF_GLOBAL_CTRL MSR is loaded on VM-exit. */2157 /** Whether the host IA32_PERF_GLOBAL_CTRL MSR is loaded on VM-exit. */ 2158 2158 #define VMX_EXIT_CTLS_LOAD_PERF_MSR RT_BIT(12) 2159 2159 /** Acknowledge external interrupts with the irq controller if one caused a VM-exit. */ … … 3475 3475 kVmxVInstrDiag_Vmentry_EntryCtlsAllowed1, 3476 3476 kVmxVInstrDiag_Vmentry_EntryCtlsDisallowed0, 3477 kVmxVInstrDiag_Vmentry_EntryHostCr0Fixed0, 3478 kVmxVInstrDiag_Vmentry_EntryHostCr0Fixed1, 3479 kVmxVInstrDiag_Vmentry_EntryHostCr3, 3480 kVmxVInstrDiag_Vmentry_EntryHostCr4Fixed0, 3481 kVmxVInstrDiag_Vmentry_EntryHostCr4Fixed1, 3482 kVmxVInstrDiag_Vmentry_EntryHostSysenterEspEip, 3483 kVmxVInstrDiag_Vmentry_EntryHostPatMsr, 3477 3484 kVmxVInstrDiag_Vmentry_EntryInstrLen, 3478 3485 kVmxVInstrDiag_Vmentry_EntryInstrLenZero, … … 3557 3564 * 3558 3565 * @returns @c true if it's a valid type, @c false otherwise. 3559 * @param fSupportsM tf Whether the monitor-trap flag CPU feature is supported.3566 * @param fSupportsMTF Whether the Monitor-Trap Flag CPU feature is supported. 3560 3567 * @param uType The VM-entry interruption-information type. 3561 3568 */ 3562 DECLINLINE(bool) HMVmxIsEntryIntInfoTypeValid(bool fSupportsM tf, uint8_t uType)3569 DECLINLINE(bool) HMVmxIsEntryIntInfoTypeValid(bool fSupportsMTF, uint8_t uType) 3563 3570 { 3564 3571 /* See Intel spec. 26.2.1.3 "VM-Entry Control Fields". */ … … 3571 3578 case VMX_ENTRY_INT_INFO_TYPE_PRIV_SW_XCPT: 3572 3579 case VMX_ENTRY_INT_INFO_TYPE_SW_XCPT: return true; 3573 case VMX_ENTRY_INT_INFO_TYPE_OTHER_EVENT: return fSupportsM tf;3580 case VMX_ENTRY_INT_INFO_TYPE_OTHER_EVENT: return fSupportsMTF; 3574 3581 default: 3575 3582 return false;
Note:
See TracChangeset
for help on using the changeset viewer.