- Timestamp:
- May 17, 2016 6:30:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r61009 r61012 2281 2281 * @param hdc in: the HardDiskController structure to attach to. 2282 2282 * @param ulAddressOnParent in: the AddressOnParent parameter from OVF. 2283 * @param controllerName out: the name of the hard disk controller to attach to (e.g. "IDE Controller").2283 * @param controllerName out: the name of the hard disk controller to attach to (e.g. "IDE"). 2284 2284 * @param lControllerPort out: the channel (controller port) of the controller to attach to. 2285 2285 * @param lDevice out: the device number to attach to. … … 2945 2945 // one or two IDE controllers present in OVF: add one VirtualBox controller 2946 2946 ComPtr<IStorageController> pController; 2947 rc = pNewMachine->AddStorageController(Bstr("IDE Controller").raw(), StorageBus_IDE, pController.asOutParam());2947 rc = pNewMachine->AddStorageController(Bstr("IDE").raw(), StorageBus_IDE, pController.asOutParam()); 2948 2948 if (FAILED(rc)) throw rc; 2949 2949 … … 2974 2974 if (hdcVBox == "AHCI") 2975 2975 { 2976 rc = pNewMachine->AddStorageController(Bstr("SATA Controller").raw(),2976 rc = pNewMachine->AddStorageController(Bstr("SATA").raw(), 2977 2977 StorageBus_SATA, 2978 2978 pController.asOutParam()); … … 2994 2994 { 2995 2995 ComPtr<IStorageController> pController; 2996 Utf8Str strName("SCSI Controller");2996 Utf8Str strName("SCSI"); 2997 2997 StorageBus_T busType = StorageBus_SCSI; 2998 2998 StorageControllerType_T controllerType; … … 3003 3003 { 3004 3004 // OVF treats LsiLogicSas as a SCSI controller but VBox considers it a class of its own 3005 strName = "SAS Controller";3005 strName = "SAS"; 3006 3006 busType = StorageBus_SAS; 3007 3007 controllerType = StorageControllerType_LsiLogicSas; … … 3029 3029 { 3030 3030 ComPtr<IStorageController> pController; 3031 rc = pNewMachine->AddStorageController(Bstr(L"SAS Controller").raw(),3031 rc = pNewMachine->AddStorageController(Bstr(L"SAS").raw(), 3032 3032 StorageBus_SAS, 3033 3033 pController.asOutParam()); … … 3076 3076 { 3077 3077 ComPtr<IStorageController> pController; 3078 rc = sMachine->AddStorageController(Bstr("Floppy Controller").raw(),3078 rc = sMachine->AddStorageController(Bstr("Floppy").raw(), 3079 3079 StorageBus_Floppy, 3080 3080 pController.asOutParam());
Note:
See TracChangeset
for help on using the changeset viewer.

