Changeset 68992 in vbox for trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
- Timestamp:
- Oct 5, 2017 9:02:27 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r68986 r68992 3280 3280 3281 3281 /* static */ 3282 const char *Console::i_ convertControllerTypeToDev(StorageControllerType_T enmCtrlType)3282 const char *Console::i_storageControllerTypeToStr(StorageControllerType_T enmCtrlType) 3283 3283 { 3284 3284 switch (enmCtrlType) … … 3307 3307 } 3308 3308 3309 HRESULT Console::i_ convertBusPortDeviceToLun(StorageBus_T enmBus, LONG port, LONG device, unsigned &uLun)3309 HRESULT Console::i_storageBusPortDeviceToLun(StorageBus_T enmBus, LONG port, LONG device, unsigned &uLun) 3310 3310 { 3311 3311 switch (enmBus) … … 3478 3478 rc = pStorageController->COMGETTER(ControllerType)(&enmCtrlType); 3479 3479 AssertComRC(rc); 3480 pszDevice = i_ convertControllerTypeToDev(enmCtrlType);3480 pszDevice = i_storageControllerTypeToStr(enmCtrlType); 3481 3481 3482 3482 StorageBus_T enmBus; … … 3656 3656 rc = pStorageController->COMGETTER(ControllerType)(&enmCtrlType); 3657 3657 AssertComRC(rc); 3658 pszDevice = i_ convertControllerTypeToDev(enmCtrlType);3658 pszDevice = i_storageControllerTypeToStr(enmCtrlType); 3659 3659 3660 3660 StorageBus_T enmBus; … … 3834 3834 rc = pStorageController->COMGETTER(ControllerType)(&enmCtrlType); 3835 3835 AssertComRC(rc); 3836 pszDevice = i_ convertControllerTypeToDev(enmCtrlType);3836 pszDevice = i_storageControllerTypeToStr(enmCtrlType); 3837 3837 3838 3838 StorageBus_T enmBus; … … 3948 3948 hrc = pMediumAtt->COMGETTER(Port)(&lPort); H(); 3949 3949 hrc = pMediumAtt->COMGETTER(Type)(&lType); H(); 3950 hrc = Console::i_ convertBusPortDeviceToLun(enmBus, lPort, lDev, uLUN); H();3950 hrc = Console::i_storageBusPortDeviceToLun(enmBus, lPort, lDev, uLUN); H(); 3951 3951 3952 3952 #undef H … … 4426 4426 hrc = pStorageCtrl->COMGETTER(ControllerType)(&enmCtrlType); 4427 4427 AssertComRC(hrc); 4428 const char *pcszDevice = i_ convertControllerTypeToDev(enmCtrlType);4428 const char *pcszDevice = i_storageControllerTypeToStr(enmCtrlType); 4429 4429 4430 4430 StorageBus_T enmBus; … … 4433 4433 4434 4434 unsigned uLUN; 4435 hrc = Console::i_ convertBusPortDeviceToLun(enmBus, lPort, lDev, uLUN);4435 hrc = Console::i_storageBusPortDeviceToLun(enmBus, lPort, lDev, uLUN); 4436 4436 AssertComRC(hrc); 4437 4437 … … 4538 4538 hrc = pStorageCtrl->COMGETTER(ControllerType)(&enmCtrlType); 4539 4539 AssertComRC(hrc); 4540 const char *pcszDevice = i_ convertControllerTypeToDev(enmCtrlType);4540 const char *pcszDevice = i_storageControllerTypeToStr(enmCtrlType); 4541 4541 4542 4542 StorageBus_T enmBus; … … 4545 4545 4546 4546 unsigned uLUN; 4547 hrc = Console::i_ convertBusPortDeviceToLun(enmBus, lPort, lDev, uLUN);4547 hrc = Console::i_storageBusPortDeviceToLun(enmBus, lPort, lDev, uLUN); 4548 4548 AssertComRC(hrc); 4549 4549 … … 4661 4661 hrc = pStorageCtrl->COMGETTER(ControllerType)(&enmCtrlType); 4662 4662 AssertComRC(hrc); 4663 const char *pcszDevice = i_ convertControllerTypeToDev(enmCtrlType);4663 const char *pcszDevice = i_storageControllerTypeToStr(enmCtrlType); 4664 4664 4665 4665 StorageBus_T enmBus; … … 4668 4668 4669 4669 unsigned uLUN; 4670 hrc = Console::i_ convertBusPortDeviceToLun(enmBus, lPort, lDev, uLUN);4670 hrc = Console::i_storageBusPortDeviceToLun(enmBus, lPort, lDev, uLUN); 4671 4671 AssertComRCReturnRC(hrc); 4672 4672 … … 6197 6197 rc = pStorageController->COMGETTER(ControllerType)(&enmCtrlType); 6198 6198 AssertComRC(rc); 6199 const char *pcszDevice = i_ convertControllerTypeToDev(enmCtrlType);6199 const char *pcszDevice = i_storageControllerTypeToStr(enmCtrlType); 6200 6200 6201 6201 StorageBus_T enmBus; … … 6210 6210 6211 6211 unsigned uLUN; 6212 rc = Console::i_ convertBusPortDeviceToLun(enmBus, lPort, lDev, uLUN);6212 rc = Console::i_storageBusPortDeviceToLun(enmBus, lPort, lDev, uLUN); 6213 6213 AssertComRCReturnRC(rc); 6214 6214 … … 6344 6344 throw rc; 6345 6345 6346 const char *pcszDevice = i_ convertControllerTypeToDev(enmController);6346 const char *pcszDevice = i_storageControllerTypeToStr(enmController); 6347 6347 6348 6348 BOOL fBuiltinIOCache;
Note:
See TracChangeset
for help on using the changeset viewer.