VirtualBox

Ignore:
Timestamp:
Sep 7, 2023 8:59:15 AM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158992
Message:

Initial commit (based draft v2 / on patch v5) for implementing platform architecture support for x86 and ARM. bugref:10384

Location:
trunk/src/VBox/ValidationKit/tests
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/autostart/tdAutostart1.py

    r98651 r101035  
    625625        oSession = oTestDrv.openSession(oVM);
    626626        if oSession is not None:
    627             fRc = fRc and oSession.enableVirtEx(True);
    628             fRc = fRc and oSession.enableNestedPaging(True);
    629             fRc = fRc and oSession.enableNestedHwVirt(True);
    630             # disable 3D until the error is fixed.
     627            fRc = fRc and oSession.enableVirtExX86(True);
     628            fRc = fRc and oSession.enableNestedPagingX86(True);
     629            fRc = fRc and oSession.enableNestedHwVirtX86(True);
     630            # disable 3D until the error is fixed. ## @todo r=andy Which error?
    631631            fRc = fRc and oSession.setAccelerate3DEnabled(False);
    632632            fRc = fRc and oSession.setVRamSize(256);
  • trunk/src/VBox/ValidationKit/tests/benchmarks/tdBenchmark2.py

    r98651 r101035  
    156156                if oSession:
    157157                    fRc = oSession.setRamSize(cMbRam);
    158                     fRc = oSession.setLargePages(fLargePages) and fRc;
     158                    fRc = oSession.setLargePagesX86(fLargePages) and fRc;
    159159                    if fRc:
    160160                        fRc = oSession.saveSettings();
  • trunk/src/VBox/ValidationKit/tests/cpu/tdCpuPae1.py

    r98651 r101035  
    182182        oSession = self.openSession(oVM);
    183183        if oSession is not None:
    184             fRc = fRc and oSession.enableVirtEx(fHwVirt);
    185             fRc = fRc and oSession.enableNestedPaging(fNestedPaging);
     184            fRc = fRc and oSession.enableVirtExX86(fHwVirt);
     185            fRc = fRc and oSession.enableNestedPagingX86(fNestedPaging);
    186186            fRc = fRc and oSession.setCpuCount(cCpus);
    187187            fRc = fRc and oSession.setupBootLogo(True, 2500); # Race avoidance fudge.
  • trunk/src/VBox/ValidationKit/tests/installation/tdGuestOsInstOs2.py

    r98651 r101035  
    191191
    192192        # Enable HW virt
    193         fRc = fRc and oSession.enableVirtEx(True)
     193        fRc = fRc and oSession.enableVirtExX86(True)
    194194
    195195        # Enable I/O APIC
     
    197197
    198198        # Enable Nested Paging
    199         fRc = fRc and oSession.enableNestedPaging(self.fEnableNestedPaging)
     199        fRc = fRc and oSession.enableNestedPagingX86(self.fEnableNestedPaging)
    200200
    201201        # Enable PAE
    202         fRc = fRc and oSession.enablePae(self.fEnablePAE)
     202        fRc = fRc and oSession.enablePaeX86(self.fEnablePAE)
    203203
    204204        # Remote desktop
  • trunk/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py

    r98651 r101035  
    299299        # I/O APIC:
    300300        if self.fOptPae is not None:
    301             fRc = oSession.enablePae(self.fOptPae) and fRc;
     301            fRc = oSession.enablePaeX86(self.fOptPae) and fRc;
    302302
    303303        # Set extra data
  • trunk/src/VBox/ValidationKit/tests/network/tdNetBenchmark1.py

    r98651 r101035  
    495495        if oSession is not None:
    496496            fRc = fRc and oSession.setNicType(eNicType);
    497             fRc = fRc and oSession.enableVirtEx(fHwVirt);
    498             fRc = fRc and oSession.enableNestedPaging(fNestedPaging);
     497            fRc = fRc and oSession.enableVirtExX86(fHwVirt);
     498            fRc = fRc and oSession.enableNestedPagingX86(fNestedPaging);
    499499            fRc = fRc and oSession.setCpuCount(cCpus);
    500500            fRc = fRc and oSession.saveSettings();
  • trunk/src/VBox/ValidationKit/tests/shutdown/tdGuestOsShutdown1.py

    r98651 r101035  
    198198
    199199        # Enable HW virt
    200         fRc = fRc and oSession.enableVirtEx(True)
     200        fRc = fRc and oSession.enableVirtExX86(True)
    201201
    202202        # Enable I/O APIC
     
    204204
    205205        # Enable Nested Paging
    206         fRc = fRc and oSession.enableNestedPaging(self.fEnableNestedPaging)
     206        fRc = fRc and oSession.enableNestedPagingX86(self.fEnableNestedPaging)
    207207
    208208        # Enable PAE
    209         fRc = fRc and oSession.enablePae(self.fEnablePAE)
     209        fRc = fRc and oSession.enablePaeX86(self.fEnablePAE)
    210210
    211211        if (sNicTraceFile is not None):
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageBenchmark1.py

    r98763 r101035  
    12741274                        reporter.logXcpt();
    12751275
    1276                 fRc = fRc and oSession.enableVirtEx(fHwVirt);
    1277                 fRc = fRc and oSession.enableNestedPaging(fNestedPaging);
     1276                fRc = fRc and oSession.enableVirtExX86(fHwVirt);
     1277                fRc = fRc and oSession.enableNestedPagingX86(fNestedPaging);
    12781278                fRc = fRc and oSession.setCpuCount(cCpus);
    12791279                fRc = fRc and oSession.saveSettings();
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageRawDrive1.py

    r98651 r101035  
    862862        oSession = oTestDrv.openSession(oVM);
    863863        if oSession is not None:
    864             fRc = fRc and oSession.enableVirtEx(True);
     864            fRc = fRc and oSession.enableVirtExX86(True);
    865865            # nested paging doesn't need for the test
    866             #fRc = fRc and oSession.enableNestedPaging(True);
    867             #fRc = fRc and oSession.enableNestedHwVirt(True);
     866            #fRc = fRc and oSession.enableNestedPagingX86(True);
     867            #fRc = fRc and oSession.enableNestedHwVirtX86(True);
    868868            # disable 3D until the error is fixed.
    869869            fRc = fRc and oSession.setAccelerate3DEnabled(False);
  • trunk/src/VBox/ValidationKit/tests/storage/tdStorageStress1.py

    r98651 r101035  
    379379                fRc = fRc and oSession.createAndAttachHd(sDiskPath2, sDiskFormat, self.controllerTypeToName(eStorageController),
    380380                                                         cb = 10*1024*1024*1024, iPort = 2, fImmutable = False);
    381             fRc = fRc and oSession.enableVirtEx(fHwVirt);
    382             fRc = fRc and oSession.enableNestedPaging(fNestedPaging);
     381            fRc = fRc and oSession.enableVirtExX86(fHwVirt);
     382            fRc = fRc and oSession.enableNestedPagingX86(fNestedPaging);
    383383            fRc = fRc and oSession.setCpuCount(cCpus);
    384384            fRc = fRc and oSession.saveSettings();
  • trunk/src/VBox/ValidationKit/tests/teleportation/tdTeleportLocal1.py

    r98651 r101035  
    418418        oSession = self.openSession(oVmSrc);
    419419        if oSession is not None:
    420             fRc = fRc and oSession.enableVirtEx(fHwVirt);
    421             fRc = fRc and oSession.enableNestedPaging(fNestedPaging);
     420            fRc = fRc and oSession.enableVirtExX86(fHwVirt);
     421            fRc = fRc and oSession.enableNestedPagingX86(fNestedPaging);
    422422            fRc = fRc and oSession.setCpuCount(cCpus);
    423423            fRc = fRc and oSession.setupTeleporter(False, uPort=6501, sPassword='password');
     
    432432        oSession = self.openSession(oVmDst);
    433433        if oSession is not None:
    434             fRc = fRc and oSession.enableVirtEx(fHwVirt);
    435             fRc = fRc and oSession.enableNestedPaging(fNestedPaging);
     434            fRc = fRc and oSession.enableVirtExX86(fHwVirt);
     435            fRc = fRc and oSession.enableNestedPagingX86(fNestedPaging);
    436436            fRc = fRc and oSession.setCpuCount(cCpus);
    437437            fRc = fRc and oSession.setupTeleporter(True, uPort=6502, sPassword='password');
  • trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py

    r98651 r101035  
    497497        oSession = self.openSession(oVM);
    498498        if oSession is not None:
    499             fRc = fRc and oSession.enableVirtEx(True);
    500             fRc = fRc and oSession.enableNestedPaging(True);
     499            fRc = fRc and oSession.enableVirtExX86(True);
     500            fRc = fRc and oSession.enableNestedPagingX86(True);
    501501
    502502            # Make sure controllers are disabled initially.
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