VirtualBox

Changeset 102371 in vbox


Ignore:
Timestamp:
Nov 29, 2023 7:30:05 AM (12 months ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10318 Enable MTRR reporting and MTRR MSR read+write support to get Windows 10 Hyper-V booting. Guest memory type application based on MTRRs is still a todo for later.

File:
1 edited

Legend:

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

    r102088 r102371  
    32873287            /* Check if MTRR read+write support is enabled. */
    32883288            bool fEnableMtrrWrite;
    3289             rc = CFGMR3QueryBoolDef(pCpumCfg, "MTRRWrite", &fEnableMtrrWrite, false);
     3289            rc = CFGMR3QueryBoolDef(pCpumCfg, "MTRRWrite", &fEnableMtrrWrite, true);
    32903290            AssertRCReturn(rc, rc);
    32913291            if (fEnableMtrrWrite)
     
    32983298            {
    32993299                /* Check if MTRR read-only reporting is enabled. */
    3300                 rc = CFGMR3QueryBoolDef(pCpumCfg, "MTRR", &pVM->cpum.s.fMtrrRead, false);
     3300                rc = CFGMR3QueryBoolDef(pCpumCfg, "MTRR", &pVM->cpum.s.fMtrrRead, true);
    33013301                AssertRCReturn(rc, rc);
    33023302                LogRel(("CPUM: Enabled MTRR read-only support\n"));
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