VirtualBox

Changeset 74103 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 6, 2018 4:57:57 AM (6 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

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

    r74073 r74103  
    21552155/** Return to long mode after a VM-exit. */
    21562156#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. */
    21582158#define VMX_EXIT_CTLS_LOAD_PERF_MSR                             RT_BIT(12)
    21592159/** Acknowledge external interrupts with the irq controller if one caused a VM-exit. */
     
    34753475    kVmxVInstrDiag_Vmentry_EntryCtlsAllowed1,
    34763476    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,
    34773484    kVmxVInstrDiag_Vmentry_EntryInstrLen,
    34783485    kVmxVInstrDiag_Vmentry_EntryInstrLenZero,
     
    35573564 *
    35583565 * @returns @c true if it's a valid type, @c false otherwise.
    3559  * @param   fSupportsMtf    Whether the monitor-trap flag CPU feature is supported.
     3566 * @param   fSupportsMTF    Whether the Monitor-Trap Flag CPU feature is supported.
    35603567 * @param   uType           The VM-entry interruption-information type.
    35613568 */
    3562 DECLINLINE(bool) HMVmxIsEntryIntInfoTypeValid(bool fSupportsMtf, uint8_t uType)
     3569DECLINLINE(bool) HMVmxIsEntryIntInfoTypeValid(bool fSupportsMTF, uint8_t uType)
    35633570{
    35643571    /* See Intel spec. 26.2.1.3 "VM-Entry Control Fields". */
     
    35713578        case VMX_ENTRY_INT_INFO_TYPE_PRIV_SW_XCPT:
    35723579        case VMX_ENTRY_INT_INFO_TYPE_SW_XCPT:           return true;
    3573         case VMX_ENTRY_INT_INFO_TYPE_OTHER_EVENT:       return fSupportsMtf;
     3580        case VMX_ENTRY_INT_INFO_TYPE_OTHER_EVENT:       return fSupportsMTF;
    35743581        default:
    35753582            return false;
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