VirtualBox

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


Ignore:
Timestamp:
Jul 24, 2015 8:16:59 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101800
Message:

sup,iprt: SUPIsHostVirtualized belongs in IPRT and does not need to be inlined. Created RTSystemIsInserideVM() with simple amd64+x86 implementation.

File:
1 edited

Legend:

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

    r57075 r57078  
    13611361     */
    13621362    uint64_t uGipCpuHz;
    1363     bool fRelax  = SUPIsHostVirtualized();
     1363    bool fRelax  = RTSystemIsInsideVM();
    13641364    bool fCompat = SUPIsTscFreqCompatible(pVM->tm.s.cTSCTicksPerSecond, &uGipCpuHz, fRelax);
    13651365    if (!fCompat)
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