VirtualBox

Changeset 54153 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Feb 11, 2015 5:24:15 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98186
Message:

VMM/HM: Fix VMX-preemption timer override from CFGM, renamed CFGM key to be more accurate.
Added release logging of use of periodic-preemption timers on AMD-V hosts.

File:
1 edited

Legend:

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

    r52192 r54153  
    12351235 * @returns VBox status code.
    12361236 * @param   pVM         Pointer to the VM.
     1237 *
     1238 * @remarks This is called after HMR3Init(), see vmR3CreateU() and
     1239 *          vmR3InitRing3().
    12371240 */
    12381241VMMR0_INT_DECL(int) HMR0InitVM(PVM pVM)
     
    12541257    pVM->hm.s.svm.fSupported            = g_HvmR0.svm.fSupported;
    12551258
    1256     pVM->hm.s.vmx.fUsePreemptTimer      = g_HvmR0.vmx.fUsePreemptTimer;
     1259    pVM->hm.s.vmx.fUsePreemptTimer     &= g_HvmR0.vmx.fUsePreemptTimer;     /* Can be overridden by CFGM. See HMR3Init(). */
    12571260    pVM->hm.s.vmx.cPreemptTimerShift    = g_HvmR0.vmx.cPreemptTimerShift;
    12581261    pVM->hm.s.vmx.u64HostCr4            = g_HvmR0.vmx.u64HostCr4;
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