VirtualBox

Changeset 91354 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Sep 24, 2021 6:43:55 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147024
Message:

VMM: Nested VMX: bugref:10092 Fix VMX preemption timer's default.

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

Legend:

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

    r91323 r91354  
    16481648    EmuFeat.fVmxNmiExit               = 1;
    16491649    EmuFeat.fVmxVirtNmi               = 1;
    1650     EmuFeat.fVmxPreemptTimer          = 0;  /* pVM->cpum.s.fNestedVmxPreemptTimer -- Currently disabled on purpose, see @bugref{9180#c108}. */
     1650    EmuFeat.fVmxPreemptTimer          = pVM->cpum.s.fNestedVmxPreemptTimer;
    16511651    EmuFeat.fVmxPostedInt             = 0;
    16521652    EmuFeat.fVmxIntWindowExit         = 1;
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r91281 r91354  
    42174217            /** @cfgm{/CPUM/NestedVmxPreemptTimer, bool, true}
    42184218             * Whether to expose the VMX-preemption timer feature to the guest (if also
    4219              * supported by the host hardware). The default is true, and when disabled will
    4220              * prevent exposing the VMX-preemption timer feature to the guest even if the host
    4221              * supports it.
     4219             * supported by the host hardware). When disabled will prevent exposing the
     4220             * VMX-preemption timer feature to the guest even if the host supports it.
     4221             *
     4222             * @todo Currently disabled, see @bugref{9180#c108}.
    42224223             */
    4223             rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedVmxPreemptTimer", &pVM->cpum.s.fNestedVmxPreemptTimer, true);
     4224            rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedVmxPreemptTimer", &pVM->cpum.s.fNestedVmxPreemptTimer, false);
    42244225            AssertLogRelRCReturn(rc, rc);
    42254226
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