VirtualBox

Changeset 65887 in vbox


Ignore:
Timestamp:
Feb 27, 2017 2:41:29 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113675
Message:

Main/Appliance: support importing more than 10 NICs if the OVF contains the VirtualBox config and it is set to ICH9 chipset (needs more than one digit, and grabbing all numbers works as the string continues with ";type=NAT" or so)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r65530 r65887  
    33423342
    33433343                Log(("Attaching disk %s to port %d on device %d\n",
    3344                 vsdeTargetHD->strVBoxCurrent.c_str(), mhda.lControllerPort, mhda.lDevice));
     3344                     vsdeTargetHD->strVBoxCurrent.c_str(), mhda.lControllerPort, mhda.lDevice));
    33453345
    33463346                ComObjPtr<MediumFormat> mediumFormat;
     
    35673567                && vsdeNW->strExtraConfigCurrent.length() > 6)
    35683568            {
    3569                 uint32_t iSlot = vsdeNW->strExtraConfigCurrent.substr(5, 1).toUInt32();
     3569                uint32_t iSlot = vsdeNW->strExtraConfigCurrent.substr(5).toUInt32();
    35703570                /* Iterate through all network adapters in the machine config. */
    35713571                for (it1 = llNetworkAdapters.begin();
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