VirtualBox

Changeset 65385 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jan 20, 2017 10:21:37 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112981
Message:

Validation Kit: blacklist rhel5 and W2k on Pentium 4 / Pentium D

File:
1 edited

Legend:

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

    r65359 r65385  
    321321                elif self.isViaIncompatible() and oTestDrv.isHostCpuVia():
    322322                    fRc = None; # Skip the test.
     323                elif self.isP4Incompatible() and oTestDrv.isHostCpuP4():
     324                    fRc = None; # Skip the test.
    323325                else:
    324326                    oSession = oTestDrv.openSession(oVM);
     
    417419        return False;
    418420
     421    def isP4Incompatible(self):
     422        """
     423        Identifies VMs that doesn't work on Pentium 4 / Pentium D.
     424
     425        Returns True if NOT supported on P4, False if it IS supported.
     426        """
     427        # Stupid 1 kHz timer. Too much for antique CPUs.
     428        if self.sVmName.find('rhel5') >= 0:
     429            return True;
     430        # Due to the boot animation the VM takes forever to boot.
     431        if self.aInfo[g_iKind] == 'Windows2000':
     432            return True;
     433        return False;
    419434
    420435
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