VirtualBox

Changeset 92850 in vbox for trunk/src


Ignore:
Timestamp:
Dec 9, 2021 4:29:32 PM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/testdriver: Fix condition for calling oSessionWrapper::setNicLocalhostReachable() in both places (the attachment type may be None). Also enable VRDP for "default" VMs if not suppressed through command line, just like for the older style test VMs. bugref:9896

File:
1 edited

Legend:

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

    r92838 r92850  
    24632463                fRc = oSession.setNicMacAddress(sNic0MacAddr, 0);
    24642464            # Needed to reach the host (localhost) from the guest. See xTracker #9896.
    2465             if fRc and self.fpApiVer >= 7.0 and eNic0AttachType == vboxcon.NetworkAttachmentType_NAT:
     2465            if fRc and self.fpApiVer >= 7.0:
    24662466                fRc = oSession.setNicLocalhostReachable(True, 0);
    24672467            if fRc and fNatForwardingForTxs is True:
     
    25662566                    fRc = oSession.setNicMacAddress(sNic0MacAddr, 0);
    25672567                # Needed to reach the host (localhost) from the guest. See xTracker #9896.
    2568                 if fRc and self.fpApiVer >= 7.0 and eNic0AttachType == vboxcon.NetworkAttachmentType_NAT:
     2568                if fRc and self.fpApiVer >= 7.0:
    25692569                    fRc = oSession.setNicLocalhostReachable(True, 0);
     2570
     2571                if fRc and self.fEnableVrdp:
     2572                    fRc = oSession.setupVrdp(True, self.uVrdpBasePort + iGroup);
    25702573
    25712574                if fRc and fVmmDevTestingPart is not None:
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