VirtualBox

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


Ignore:
Timestamp:
Sep 8, 2023 12:56:08 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159026
Message:

Validation Kit: Build fix for VBox < 7.1. bugref:10384

File:
1 edited

Legend:

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

    r101035 r101067  
    965965        Returns if the machine is of the ARM platform architecture or not.
    966966        """
    967         return self.isPlatformArch(vboxcon.PlatformArchitecture_ARM);
     967        if self.fpApiVer >= 7.1:
     968            return self.isPlatformArch(vboxcon.PlatformArchitecture_ARM);
     969        return False; # For VBox < 7.1 this always is false (x86 only).
    968970
    969971    def isPlatformX86(self):
     
    971973        Returns if the machine is of the x86 platform architecture or not.
    972974        """
    973         return self.isPlatformArch(vboxcon.PlatformArchitecture_x86);
     975        if self.fpApiVer >= 7.1:
     976            return self.isPlatformArch(vboxcon.PlatformArchitecture_x86);
     977        return True; # For VBox < 7.1 this always is true (x86 only).
    974978
    975979    def enableVirtExX86(self, fEnable):
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