Changeset 44433 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jan 28, 2013 4:12:29 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83414
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r44409 r44433 5 5 6 6 /* 7 * Copyright (C) 2008-201 2Oracle Corporation7 * Copyright (C) 2008-2013 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1546 1546 { 1547 1547 ULONG temp = m->variant; 1548 temp &= 1<<i; 1548 temp &= 1<<i; 1549 1549 variants [i] = (MediumVariant_T)temp; 1550 1550 } … … 5694 5694 vrc = VDSetUuid(hdd, 0, m->uuidImage.raw()); 5695 5695 alock.release(); 5696 ComAssertRCThrow(vrc, E_FAIL); 5696 if (RT_FAILURE(vrc)) 5697 { 5698 lastAccessError = Utf8StrFmt(tr("Could not update the UUID of medium '%s'%s"), 5699 location.c_str(), vdError(vrc).c_str()); 5700 throw S_OK; 5701 } 5697 5702 mediumId = m->uuidImage; 5698 5703 } … … 5702 5707 vrc = VDSetParentUuid(hdd, 0, m->uuidParentImage.raw()); 5703 5708 alock.release(); 5704 ComAssertRCThrow(vrc, E_FAIL); 5709 if (RT_FAILURE(vrc)) 5710 { 5711 lastAccessError = Utf8StrFmt(tr("Could not update the parent UUID of medium '%s'%s"), 5712 location.c_str(), vdError(vrc).c_str()); 5713 throw S_OK; 5714 } 5705 5715 } 5706 5716 /* zap the information, these are no long-term members */
Note:
See TracChangeset
for help on using the changeset viewer.