Changeset 24348 in vbox
- Timestamp:
- Nov 4, 2009 5:22:07 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 54371
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r24345 r24348 5926 5926 /* find a hard disk by UUID */ 5927 5927 rc = mParent->findHardDisk(&dev.uuid, NULL, true /* aDoSetError */, &medium); 5928 CheckComRCReturnRC(rc); 5928 if (FAILED(rc)) 5929 { 5930 if (mType == IsSnapshotMachine) 5931 { 5932 // wrap another error message around the "cannot find hard disk" set by findHardDisk 5933 // so the user knows that the bad disk is in a snapshot somewhere 5934 com::ErrorInfo info; 5935 return setError(E_FAIL, 5936 tr("A differencing image of snapshot {%RTuuid} could not be found. %ls"), 5937 aSnapshotId->raw(), 5938 info.getText().raw()); 5939 } 5940 else 5941 return rc; 5942 } 5929 5943 5930 5944 AutoWriteLock hdLock(medium);
Note:
See TracChangeset
for help on using the changeset viewer.