VirtualBox

Changeset 72365 in vbox for trunk


Ignore:
Timestamp:
May 28, 2018 5:33:04 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122822
Message:

ValidationKit/testdriver: prepare for testing purely VMs using nested hwvirt (i.e. the new testcase) and purely VMs not using nested hwvirt (i.e. as before)

File:
1 edited

Legend:

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

    r72319 r72365  
    732732        reporter.log('      Set of paravirtualized providers (modes) to tests. Intersected with what the test VM supports.');
    733733        reporter.log('      Default is the first PV mode the test VMs support, generally same as "legacy".');
     734        reporter.log('  --with-nested-hwvirt-only');
     735        reporter.log('      Test VMs using nested hardware-virtualization only.');
     736        reporter.log('  --without-nested-hwvirt-only');
     737        reporter.log('      Test VMs not using nested hardware-virtualization only.');
    734738        ## @todo Add more options for controlling individual VMs.
    735739        return True;
     
    837841            for oTestVm in self.aoTestVms:
    838842                oTestVm.asParavirtModesSup = oTestVm.asParavirtModesSupOrg;
     843
     844        elif asArgs[iArg] == '--with-nested-hwvirt-only':
     845            for oTestVm in self.aoTestVms:
     846                if oTestVm.fNstHwVirt is False:
     847                    oTestVm.fSkip = True;
     848
     849        elif asArgs[iArg] == '--without-nested-hwvirt-only':
     850            for oTestVm in self.aoTestVms:
     851                if oTestVm.fNstHwVirt is True:
     852                    oTestVm.fSkip = True;
    839853
    840854        else:
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