- Timestamp:
- Jan 21, 2009 9:43:00 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HardDisk2Impl.cpp
r15596 r16118 1154 1154 HRESULT rc = progress->init (mVirtualBox, static_cast <IHardDisk2 *> (this), 1155 1155 BstrFmt (tr ("Creating dynamic hard disk storage unit '%ls'"), 1156 m.location .raw()),1156 m.locationFull.raw()), 1157 1157 FALSE /* aCancelable */); 1158 1158 CheckComRCReturnRC (rc); … … 1209 1209 HRESULT rc = progress->init (mVirtualBox, static_cast <IHardDisk2 *> (this), 1210 1210 BstrFmt (tr ("Creating fixed hard disk storage unit '%ls'"), 1211 m.location .raw()),1211 m.locationFull.raw()), 1212 1212 FALSE /* aCancelable */); 1213 1213 CheckComRCReturnRC (rc); … … 1270 1270 1271 1271 if (mm.type == HardDiskType_Writethrough) 1272 return setError (E_FAIL, tr ("Hard disk '%ls' is Writethrough")); 1272 return setError (E_FAIL, 1273 tr ("Hard disk '%ls' is Writethrough"), 1274 m.locationFull.raw()); 1273 1275 1274 1276 /* We want to be locked for reading as long as our diff child is being … … 1331 1333 progress.createObject(); 1332 1334 rc = progress->init (mVirtualBox, static_cast <IHardDisk2 *> (this), 1333 BstrFmt (tr ("Creating a clone hard disk '%s'"),1334 target-> name().raw()),1335 BstrFmt (tr ("Creating clone hard disk '%ls'"), 1336 target->m.locationFull.raw()), 1335 1337 FALSE /* aCancelable */); 1336 1338 CheckComRCThrowRC (rc); … … 2044 2046 rc = progress->init (mVirtualBox, static_cast <IHardDisk2 *> (this), 2045 2047 BstrFmt (tr ("Deleting hard disk storage unit '%ls'"), 2046 name().raw()),2048 m.locationFull.raw()), 2047 2049 FALSE /* aCancelable */); 2048 2050 CheckComRCReturnRC (rc); … … 2162 2164 "with UUID {%RTuuid}. No differencing hard disks " 2163 2165 "based on it may be created until it is detached"), 2164 m.location .raw(), it->machineId.raw());2166 m.locationFull.raw(), it->machineId.raw()); 2165 2167 } 2166 2168 … … 2182 2184 rc = progress->init (mVirtualBox, static_cast <IHardDisk2 *> (this), 2183 2185 BstrFmt (tr ("Creating differencing hard disk storage unit '%ls'"), 2184 aTarget-> name().raw()),2186 aTarget->m.locationFull.raw()), 2185 2187 FALSE /* aCancelable */); 2186 2188 CheckComRCReturnRC (rc); … … 2426 2428 progress.createObject(); 2427 2429 rc = progress->init (mVirtualBox, static_cast <IHardDisk2 *> (this), 2428 BstrFmt (tr ("Merging hard disk '% ls' to '%ls'"),2430 BstrFmt (tr ("Merging hard disk '%s' to '%s'"), 2429 2431 name().raw(), aChain->target()->name().raw()), 2430 2432 FALSE /* aCancelable */); … … 3535 3537 MergeChain *chain = task->d.chain.get(); 3536 3538 3537 #if 13539 #if 0 3538 3540 LogFlow (("*** MERGE forward = %RTbool\n", chain->isForward())); 3539 3541 #endif … … 3580 3582 if (RT_FAILURE (vrc)) 3581 3583 throw vrc; 3582 #if 13584 #if 0 3583 3585 LogFlow (("*** MERGE disk = %ls\n", 3584 3586 (*it)->m.locationFull.raw())); … … 3593 3595 unsigned end = chain->isForward() ? 3594 3596 chain->size() - 1 : 0; 3595 #if 13597 #if 0 3596 3598 LogFlow (("*** MERGE from %d to %d\n", start, end)); 3597 3599 #endif
Note:
See TracChangeset
for help on using the changeset viewer.