Changeset 35608 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jan 18, 2011 2:19:31 PM (14 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r35528 r35608 7540 7540 } 7541 7541 else 7542 rc = mParent->findRemoveableMedium(dev.deviceType, dev.uuid, false /* fRefresh */, medium); 7543 if (FAILED(rc)) 7544 return rc; 7542 mParent->findRemoveableMedium(dev.deviceType, 7543 dev.uuid, 7544 false /* fRefresh */, 7545 false /* aSetError */, 7546 medium); 7547 // note: do NOT fail if a removeable medium cannot be found, silently ignore the error completely 7545 7548 break; 7546 7549 -
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r35435 r35608 2835 2835 const Guid &uuid, 2836 2836 bool fRefresh, 2837 bool aSetError, 2837 2838 ComObjPtr<Medium> &pMedium) 2838 2839 { … … 2851 2852 if (rc == VBOX_E_OBJECT_NOT_FOUND) 2852 2853 // then search for an image with that UUID 2853 rc = findDVDOrFloppyImage(mediumType, &uuid, Utf8Str::Empty, true /* aSetError */, &pMedium);2854 rc = findDVDOrFloppyImage(mediumType, &uuid, Utf8Str::Empty, aSetError, &pMedium); 2854 2855 2855 2856 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.