VirtualBox

Changeset 1876 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 3, 2007 11:59:17 AM (18 years ago)
Author:
vboxsync
Message:

VBOX_TM_VIRTUALIZED_TSC hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/TM.cpp

    r1058 r1876  
    7979#include <iprt/semaphore.h>
    8080#include <iprt/string.h>
     81#include <iprt/env.h>
     82
    8183
    8284/*******************************************************************************
     
    204206        return VMSetError(pVM, rc, RT_SRC_POS,
    205207                          N_("Configuration error: Failed to querying bool value \"UseRealTSC\". (%Vrc)"), rc);
     208#if 1 /* temporary hack */
     209    if (RTEnvExist("VBOX_TM_VIRTUALIZED_TSC"))
     210        pVM->tm.s.fTSCUseRealTSC = false;
     211#endif
    206212    if (!pVM->tm.s.fTSCUseRealTSC)
    207213        pVM->tm.s.fTSCVirtualized = true;
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