VirtualBox

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


Ignore:
Timestamp:
Feb 7, 2024 9:57:20 AM (10 months ago)
Author:
vboxsync
Message:

ValidationKit/testdriver/vboxtestvms.py: Don't filter out hwvirt-np for 7.0 on macOS because we would end up with no available virtualization mode skipping all testing, bugref:10592

File:
1 edited

Legend:

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

    r103104 r103237  
    19381938                asVirtModesWanted.remove('hwvirt');
    19391939
    1940             if 'hwvirt-np' in asVirtModesWanted and not oTestDrv.hasHostNestedPaging():
     1940            # r=aeichner: For 7.0 there is no native API mode to set but NEM gets picked by default on macOS.
     1941            #             But because the darwin testboxes don't report the hwvirt or hwvirt-np capability anymore (see @bugref{10592})
     1942            #             this results in no virt mode being supported and all the VMs getting skipped (but the test marked as
     1943            #             succeeded anyway). In order to keep the default behavior we keep at least hwvirt-np on macOS which will
     1944            #             make use of NEM automatically and testing with 7.0 continues working.
     1945            if 'hwvirt-np' in asVirtModesWanted and not oTestDrv.hasHostNestedPaging() and utils.getHostOs() != 'darwin':
    19411946                reporter.log('Nested paging not supported by the host, skipping it.');
    19421947                asVirtModesWanted.remove('hwvirt-np');
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