VirtualBox

Changeset 16515 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 4, 2009 3:01:28 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42438
Message:

OVF: bring back string references; look up controllers by array item index, not internal refid; fix image config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp

    r16495 r16515  
    9797            {
    9898                com::SafeArray<VirtualSystemDescriptionType_T> retTypes;
    99                 com::SafeArray<ULONG> aRefs;
     99                com::SafeArray<BSTR> aRefs;
    100100                com::SafeArray<BSTR> aOrigValues;
    101101                com::SafeArray<BSTR> aConfigValues;
     
    147147
    148148                        case VirtualSystemDescriptionType_HardDiskControllerIDE:
    149                             RTPrintf("%2d: IDE controller: reference ID %d"
    150                                      "\n    (disable with \"-vsys %d -ignore %d\")\n",
    151                                      a,
    152                                      aRefs[a],
     149                            RTPrintf("%2d: IDE controller, type %ls"
     150                                     "\n    (disable with \"-vsys %d -ignore %d\")\n",
     151                                     a,
     152                                     aConfigValues[a],
    153153                                     i, a);
    154154                        break;
    155155
    156156                        case VirtualSystemDescriptionType_HardDiskControllerSATA:
    157                             RTPrintf("%2d: SATA controller: reference ID %d"
    158                                      "\n    (disable with \"-vsys %d -ignore %d\")\n",
    159                                      a,
    160                                      aRefs[a],
     157                            RTPrintf("%2d: SATA controller, type %ls"
     158                                     "\n    (disable with \"-vsys %d -ignore %d\")\n",
     159                                     a,
     160                                     aConfigValues[a],
    161161                                     i, a);
    162162                        break;
    163163
    164164                        case VirtualSystemDescriptionType_HardDiskControllerSCSI:
    165                             RTPrintf("%2d: SCSI controller: reference ID %d, type %ls"
    166                                      "\n    (change with \"-vsys %d -scsitype%d={BusLogic|LsiLogic}\";"
     165                            RTPrintf("%2d: SCSI controller, type %ls"
     166                                     "\n    (change with \"-vsys %d -type%d={BusLogic|LsiLogic}\";"
    167167                                     "\n    disable with \"-vsys %d -ignore %d\")\n",
    168168                                     a,
    169                                      aRefs[a],
    170169                                     aConfigValues[a],
    171170                                     i, a, i, a);
     
    173172
    174173                        case VirtualSystemDescriptionType_HardDiskImage:
    175                             RTPrintf("%2d: Hard disk image: controller %d, source image \"%ls\", target image \"%ls\""
     174                            RTPrintf("%2d: Hard disk image: source image=%ls, target path=%ls, %ls"
    176175                                     "\n    (change controller with \"-vsys %d -controller%d=<id>\";"
    177176                                     "\n    disable with \"-vsys %d -ignore %d\")\n",
    178177                                     a,
    179                                      aRefs[a],
    180178                                     aOrigValues[a],
    181179                                     aConfigValues[a],
     180                                     aExtraConfigValues[a],
    182181                                     i, a, i, a);
    183182                        break;
     
    196195
    197196                        case VirtualSystemDescriptionType_NetworkAdapter:
    198                             RTPrintf("%2d: Network adapter: orig %ls, auto %ls, conf %ls\n",
     197                            RTPrintf("%2d: Network adapter: orig %ls, config %ls, extra %ls\n",
    199198                                     a,
    200199                                     aOrigValues[a],
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