VirtualBox

Changeset 20463 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 10, 2009 12:25:23 PM (16 years ago)
Author:
vboxsync
Message:

Don't expose X86_CPUID_AMD_ADVPOWER_EDX_TSCINVAR to the guest

File:
1 edited

Legend:

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

    r20229 r20463  
    489489                                            //| X86_CPUID_AMD_ADVPOWER_EDX_MC
    490490                                            //| X86_CPUID_AMD_ADVPOWER_EDX_HWPSTATE
     491#if 1
     492            /* We don't expose X86_CPUID_AMD_ADVPOWER_EDX_TSCINVAR, because newer Linux kernels blindly assume
     493             * that the AMD performance counters work if this is set for 64 bits guests. (can't really find a CPUID feature bit for them though)
     494             */
     495#else
    491496                                            | X86_CPUID_AMD_ADVPOWER_EDX_TSCINVAR
     497#endif
    492498                                            | 0;
    493499        }
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