VirtualBox

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


Ignore:
Timestamp:
Dec 27, 2018 7:27:25 AM (6 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Nested VMX: bugref:9180 Log buffering.

File:
1 edited

Legend:

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

    r76492 r76493  
    39213921{
    39223922    /*
     3923     * Enable log buffering as we're going to log a lot of lines.
     3924     */
     3925    bool const fOldBuffered = RTLogRelSetBuffering(true /*fBuffered*/);
     3926
     3927    /*
    39233928     * Log the cpuid.
    39243929     */
    3925     bool fOldBuffered = RTLogRelSetBuffering(true /*fBuffered*/);
    39263930    RTCPUSET OnlineSet;
    39273931    LogRel(("CPUM: Logical host processors: %u present, %u max, %u online, online mask: %016RX64\n",
     
    39353939    LogRel(("\n"));
    39363940    DBGFR3_INFO_LOG_SAFE(pVM, "cpuid", "verbose"); /* macro */
    3937     RTLogRelSetBuffering(fOldBuffered);
    39383941    LogRel(("******************** End of CPUID dump **********************\n"));
    39393942
     
    39513954        LogRel(("******************* End of VT-x features ********************\n"));
    39523955    }
    3953 }
    3954 
     3956
     3957    /*
     3958     * Restore the log buffering state to what it was previously.
     3959     */
     3960    RTLogRelSetBuffering(fOldBuffered);
     3961}
     3962
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