VirtualBox

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


Ignore:
Timestamp:
Nov 20, 2009 3:02:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55053
Message:

Removed excessive logging

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

Legend:

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

    r24324 r24829  
    7676
    7777    /* We must turn on AMD-V and setup the host state physical address, as those MSRs are per-cpu/core. */
    78 
    79 #if defined(LOG_ENABLED) && !defined(DEBUG_bird)
    80     SUPR0Printf("SVMR0EnableCpu cpu %d page (%x) %x\n", pCpu->idCpu, pvPageCpu, (uint32_t)pPageCpuPhys);
    81 #endif
    82 
    8378    uint64_t val = ASMRdMsr(MSR_K6_EFER);
    8479    if (val & MSR_K6_EFER_SVME)
     
    106101    AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER);
    107102    AssertReturn(pvPageCpu, VERR_INVALID_PARAMETER);
    108 
    109 #if defined(LOG_ENABLED) && !defined(DEBUG_bird)
    110     SUPR0Printf("SVMR0DisableCpu cpu %d\n", pCpu->idCpu);
    111 #endif
    112103
    113104    /* Turn off AMD-V in the EFER MSR. */
  • TabularUnified trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r24809 r24829  
    111111    AssertReturn(pvPageCpu, VERR_INVALID_PARAMETER);
    112112
    113 #if defined(LOG_ENABLED) && !defined(DEBUG_bird) && !defined(DEBUG_misha)
    114     SUPR0Printf("VMXR0EnableCpu cpu %d page (%x) %x\n", pCpu->idCpu, pvPageCpu, (uint32_t)pPageCpuPhys);
    115 #endif
    116113    if (pVM)
    117114    {
     
    160157    /* And clear the X86_CR4_VMXE bit */
    161158    ASMSetCR4(ASMGetCR4() & ~X86_CR4_VMXE);
    162 
    163 #if defined(LOG_ENABLED) && !defined(DEBUG_bird) && !defined(DEBUG_misha)
    164     SUPR0Printf("VMXR0DisableCpu cpu %d\n", pCpu->idCpu);
    165 #endif
    166159    return VINF_SUCCESS;
    167160}
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