VirtualBox

Changeset 79352 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 26, 2019 9:42:43 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131584
Message:

VMM/HM: Nested VMX: bugref:9180 Comment on where to tweak host MSRs for testing VMX/SVM R0 code. Added 'full' or 'partial' VMCS shadowing support to the release log.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMR0.cpp

    r79345 r79352  
    11781178        pVM->hm.s.vmx.u64HostSmmMonitorCtl  = g_HmR0.hwvirt.u.vmx.u64HostSmmMonitorCtl;
    11791179        HMGetVmxMsrsFromHwvirtMsrs(&g_HmR0.hwvirt.Msrs, &pVM->hm.s.vmx.Msrs);
     1180        /* If you need to tweak host MSRs for testing VMX R0 code, do it here. */
    11801181
    11811182        /* Enable VPID if supported and configured. */
     
    12171218        pVM->hm.s.svm.u32Features = g_HmR0.hwvirt.u.svm.u32Features;
    12181219        pVM->hm.s.svm.u64MsrHwcr  = g_HmR0.hwvirt.Msrs.u.svm.u64MsrHwcr;
     1220        /* If you need to tweak host MSRs for testing SVM R0 code, do it here. */
    12191221    }
    12201222    pVM->hm.s.rcInit              = g_HmR0.rcInit;
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r79345 r79352  
    17761776
    17771777    if (pVM->hm.s.vmx.fUseVmcsShadowing)
    1778         LogRel(("HM: Enabled VMCS shadowing support\n"));
     1778    {
     1779        bool const fFullVmcsShadow = RT_BOOL(pVM->hm.s.vmx.Msrs.u64Misc & VMX_MISC_VMWRITE_ALL);
     1780        LogRel(("HM: Enabled %s VMCS shadowing\n", fFullVmcsShadow ? "full" : "partial"));
     1781    }
    17791782
    17801783    return VINF_SUCCESS;
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