VirtualBox

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


Ignore:
Timestamp:
Nov 5, 2021 4:15:26 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148080
Message:

Validation Kit/testdriver: Call oSessionWrapper::setNicLocalhostReachable() as part of setupPreferredConfig(). ​bugref:9896

Location:
trunk/src/VBox/ValidationKit/testdriver
Files:
2 edited

Legend:

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

    r92241 r92244  
    30673067        reporter.log2('startVmEx: oSession=%s, oSessionWrapper=%s, oProgress=%s' % (oSession, oWrapped, oProgress));
    30683068
    3069         if self.fpApiVer >= 7.0:
    3070             # Needed to reach the host (localhost) from the guest. See xTracker #9896.
    3071             # Note: Do this right *after* the VM has been started.
    3072             for iSlot in range(0, self.oVBox.systemProperties.getMaxNetworkAdapters(oVM.chipsetType)):
    3073                 try:
    3074                     oWrapped.setNicLocalhostReachable(True, iSlot);
    3075                 except:
    3076                     reporter.logXcpt();
    3077 
    30783069        from testdriver.vboxwrappers import ProgressWrapper;
    30793070        return (oWrapped, ProgressWrapper(oProgress, self.oVBoxMgr, self,
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r92243 r92244  
    23512351            if not self.setupAudio(eAudioCtlType):      fRc = False;
    23522352
     2353        if self.fpApiVer >= 7.0:
     2354            # Needed to reach the host (localhost) from the guest. See xTracker #9896.
     2355            # Note: Do this right *after* the VM has been started.
     2356            for iSlot in range(0, self.oVBox.systemProperties.getMaxNetworkAdapters(self.o.machine.chipsetType)):
     2357                try:
     2358                    self.setNicLocalhostReachable(True, iSlot);
     2359                except:
     2360                    reporter.logXcpt();
     2361
    23532362        return fRc;
    23542363
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