VirtualBox

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


Ignore:
Timestamp:
Nov 5, 2021 10:54:18 AM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/testdriver: Use ISystemProperties to determine the maximum number of network adapters for a chipset and now also log exceptions if something fails enabling LocalhostReachable. ​bugref:9896

File:
1 edited

Legend:

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

    r92236 r92237  
    29372937        if self.fpApiVer >= 7.0:
    29382938            # Needed to reach the host (localhost) from the guest. See xTracker #9896.
    2939             for iSlot in range(0, 32):
     2939            for iSlot in range(0, self.oVBox.systemProperties.getMaxNetworkAdapters(oVM.chipsetType)):
    29402940                try:
    29412941                    oNic = oVM.getNetworkAdapter(iSlot);
     
    29562956                        self.oVBox.setExtraData(sKey, '');
    29572957                except:
    2958                     pass;
     2958                    reporter.logXcpt();
    29592959
    29602960        # The UUID for the name.
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