VirtualBox

Changeset 91037 in vbox for trunk/src/VBox/VMM/VMMR3/HM.cpp


Ignore:
Timestamp:
Aug 31, 2021 4:42:14 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146679
Message:

VMM: Nested VMX: bugref:10092 Added support for tertiary processor based VM-execution controls and updated the virtual VMCS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r89976 r91037  
    13561356
    13571357/**
     1358 * Reports MSR_IA32_VMX_PROCBASED_CTLS3 MSR to the log.
     1359 *
     1360 * @param   uProcCtls3    The tertiary processor-based VM-execution control MSR.
     1361 */
     1362static void hmR3VmxReportProcBasedCtls3Msr(uint64_t uProcCtls3)
     1363{
     1364    LogRel(("HM: MSR_IA32_VMX_PROCBASED_CTLS3      = %#RX64\n", uProcCtls3));
     1365    LogRel(("HM:   LOADIWKEY_EXIT                    = %RTbool\n", RT_BOOL(uProcCtls3 & VMX_PROC_CTLS3_LOADIWKEY_EXIT)));
     1366}
     1367
     1368
     1369/**
    13581370 * Reports MSR_IA32_VMX_ENTRY_CTLS to the log.
    13591371 *
     
    15281540    if (pVM->hm.s.ForR3.vmx.Msrs.ProcCtls.n.allowed1 & VMX_PROC_CTLS_USE_SECONDARY_CTLS)
    15291541        hmR3VmxReportProcBasedCtls2Msr(&pVM->hm.s.ForR3.vmx.Msrs.ProcCtls2);
     1542    if (pVM->hm.s.ForR3.vmx.Msrs.ProcCtls.n.allowed1 & VMX_PROC_CTLS_USE_TERTIARY_CTLS)
     1543        hmR3VmxReportProcBasedCtls3Msr(pVM->hm.s.ForR3.vmx.Msrs.u64ProcCtls3);
    15301544
    15311545    hmR3VmxReportEntryCtlsMsr(&pVM->hm.s.ForR3.vmx.Msrs.EntryCtls);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette