VirtualBox

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


Ignore:
Timestamp:
Oct 28, 2021 10:28:09 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147950
Message:

Audio/Validation Kit: More code needed for setting the required CFGM key for test drivers using NAT attachment types. ​bugref:9896 bugref:10008

File:
1 edited

Legend:

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

    r92128 r92131  
    29512951                    if oNic.attachmentType == vboxcon.NetworkAttachmentType_NAT:
    29522952                        sAdpName = self.getNetworkAdapterNameFromType(oNic);
    2953                         reporter.log2('Enabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d' % \
    2954                                       (sAdpName, iSlot));
    2955                         sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % \
    2956                                iSlot, sAdpName;
     2953                        sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iSlot);
     2954                        reporter.log2('Enabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d (key: %s)' % \
     2955                                      (sAdpName, iSlot, sKey));
    29572956                        self.oVBox.setExtraData(sKey, '1');
    29582957                except:
    2959                     continue;
     2958                    pass;
    29602959
    29612960        # The UUID for the name.
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