Changeset 24046 in vbox for trunk/src/VBox/Main/ApplianceImpl.cpp
- Timestamp:
- Oct 23, 2009 5:46:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r23880 r24046 1452 1452 { 1453 1453 ComPtr<IStorageController> pController; 1454 rc = pNewMachine-> GetStorageControllerByName(Bstr("IDE Controller"), pController.asOutParam());1454 rc = pNewMachine->AddStorageController(Bstr("IDE Controller"), StorageBus_IDE, pController.asOutParam()); 1455 1455 if (FAILED(rc)) throw rc; 1456 1456 … … 1480 1480 if (hdcVBox == "AHCI") 1481 1481 { 1482 rc = pNewMachine->AddStorageController(Bstr("SATA "), StorageBus_SATA, pController.asOutParam());1482 rc = pNewMachine->AddStorageController(Bstr("SATA Controller"), StorageBus_SATA, pController.asOutParam()); 1483 1483 if (FAILED(rc)) throw rc; 1484 1484 }
Note:
See TracChangeset
for help on using the changeset viewer.