VirtualBox

Changeset 101701 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 1, 2023 3:14:36 PM (13 months ago)
Author:
vboxsync
Message:

ValidationKit: Fixes for arm and 7.1 Main API, bugref:10542 [fix]

File:
1 edited

Legend:

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

    r101700 r101701  
    600600    def getGuestArch(self):
    601601        """ Same as util.getHostArch. """
    602         if self.sKind.find('_arm64') >= 0:
    603             return 'arm64';
    604         elif self.sKind.find('_arm32') >= 0:
    605             return 'arm32';
    606         elif self.sKind.find('_64') >= 0:
    607             return 'amd64';
    608         else:
    609             return 'x86';
     602        if self.sKind.find('_arm64') >= 0: return 'arm64';
     603        if self.sKind.find('_arm32') >= 0: return 'arm32';
     604        if self.sKind.find('_64') >= 0:    return 'amd64';
     605
     606        return 'x86';
    610607
    611608    def getGuestOs(self):
     
    13111308    def getGuestArch(self):
    13121309        """ Same as util.getHostArch. """
    1313         return 'amd64' if self.sKind.find('_64') >= 0 else 'x86';
     1310        if self.sKind.find('_arm64') >= 0: return 'arm64';
     1311        if self.sKind.find('_arm32') >= 0: return 'arm32';
     1312        if self.sKind.find('_64') >= 0:    return 'amd64';
     1313
     1314        return 'x86';
    13141315
    13151316    def getGuestOs(self):
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