Changeset 43906 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Nov 17, 2012 2:00:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r43479 r43906 1940 1940 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 1941 1941 1942 Guid id(aLocation); 1942 1943 ComObjPtr<Medium> pMedium; 1943 1944 … … 1952 1953 { 1953 1954 case DeviceType_HardDisk: 1954 rc = findHardDiskByLocation(aLocation, 1955 false, /* aSetError */ 1956 &pMedium); 1955 if (!id.isEmpty()) 1956 rc = findHardDiskById(id, false /* setError */, &pMedium); 1957 else 1958 rc = findHardDiskByLocation(aLocation, 1959 false, /* aSetError */ 1960 &pMedium); 1957 1961 break; 1958 1962
Note:
See TracChangeset
for help on using the changeset viewer.