VirtualBox

Ignore:
Timestamp:
Jan 18, 2019 10:57:02 AM (6 years ago)
Author:
vboxsync
Message:

VMM (and related changes): Add support for Shanghai/Zhaoxin CPUs. Modified and improved contribution by Journey Ren submitted under MIT license. Thank you!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r76553 r76886  
    30973097        return sCpuDesc.startswith("VIA") or sCpuDesc == 'CentaurHauls';
    30983098
     3099    def isHostCpuShanghai(self, fQuiet = False):
     3100        """
     3101        Checks if the host CPU vendor is Shanghai (or Zhaoxin).
     3102
     3103        Returns True / False.
     3104        """
     3105        sCpuDesc = self._getHostCpuDesc(fQuiet);
     3106        return sCpuDesc.startswith("ZHAOXIN") or sCpuDesc.strip(' ') == 'Shanghai';
     3107
    30993108    def isHostCpuP4(self, fQuiet = False):
    31003109        """
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