- Timestamp:
- May 19, 2014 2:53:48 PM (11 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r51219 r51292 3784 3784 /* Determine the base path for the device instance. */ 3785 3785 PCFGMNODE pCtlInst; 3786 pCtlInst = CFGMR3GetChildF(CFGMR3GetRootU(pUVM), "Devices/%s/%u/", pcszDevice, uInstance); 3786 if (strcmp(pcszDevice, "Msd")) 3787 pCtlInst = CFGMR3GetChildF(CFGMR3GetRootU(pUVM), "Devices/%s/%u/", pcszDevice, uInstance); 3788 else 3789 pCtlInst = CFGMR3GetChildF(CFGMR3GetRootU(pUVM), "USB/%s/", pcszDevice, uInstance); 3787 3790 AssertReturn(pCtlInst, VERR_INTERNAL_ERROR); 3788 3791 -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r51217 r51292 3624 3624 /* Unmount existing media only for floppy and DVD drives. */ 3625 3625 PPDMIBASE pBase; 3626 rc = PDMR3QueryLun(pUVM, pcszDevice, uInstance, uLUN, &pBase); 3626 if (enmBus == StorageBus_USB) 3627 rc = PDMR3UsbQueryLun(pUVM, pcszDevice, uInstance, uLUN, &pBase); 3628 else 3629 rc = PDMR3QueryLun(pUVM, pcszDevice, uInstance, uLUN, &pBase); 3627 3630 if (RT_FAILURE(rc)) 3628 3631 {
Note:
See TracChangeset
for help on using the changeset viewer.