- Timestamp:
- Nov 2, 2012 10:14:01 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r43740 r43794 2486 2486 {/* see @bugref{4386} */ 2487 2487 /*check available place on the storage*/ 2488 2489 2490 2491 2492 2493 2488 RTFOFF pcbTotal = 0; 2489 RTFOFF pcbFree = 0; 2490 uint32_t pcbBlock = 0; 2491 uint32_t pcbSector = 0; 2492 std::multimap<uint32_t,uint64_t> neededStorageFreeSpace; 2493 std::map<uint32_t,const char*> serialMapToStoragePath; 2494 2494 2495 2495 MediumDeleteRecList::const_iterator it_md = toDelete.begin(); … … 2517 2517 { 2518 2518 rc = setError(E_FAIL, 2519 tr(" Impossible merging with '%s'. Can't get storage UID"),2519 tr(" Unable to merge storage '%s'. Can't get storage UID "), 2520 2520 pTarget_local->getLocationFull().c_str()); 2521 2521 throw rc; … … 2552 2552 if (it_sm == serialMapToStoragePath.end()) 2553 2553 { 2554 LogFlowThisFunc((" Path to the storage wasn't found...\n"));2554 LogFlowThisFunc((" Path to the storage wasn't found...\n ")); 2555 2555 2556 2556 rc = setError(E_INVALIDARG, 2557 tr(" Impossible merging with '%s'. Path to the storage wasn't found."),2557 tr(" Unable to merge storage '%s'. Path to the storage wasn't found. "), 2558 2558 it_sm->second); 2559 2559 throw rc; … … 2564 2564 { 2565 2565 rc = setError(E_FAIL, 2566 tr(" Impossible merging with '%s'. Can't get the storage size."),2566 tr(" Unable to merge storage '%s'. Can't get the storage size. "), 2567 2567 it_sm->second); 2568 2568 throw rc; … … 2571 2571 if (commonSourceStoragesSize > (uint64_t)pcbFree) 2572 2572 { 2573 LogFlowThisFunc((" There isn't enough space than it is needed for merging...\n"));2573 LogFlowThisFunc((" Not enough free space to merge...\n ")); 2574 2574 2575 2575 rc = setError(E_OUTOFMEMORY, 2576 tr(" Impossible merging with '%s'. " 2577 "There isn't enough space than it is needed for merging"), 2576 tr(" Unable to merge storage '%s' - not enough free storage space. "), 2578 2577 it_sm->second); 2579 2578 throw rc;
Note:
See TracChangeset
for help on using the changeset viewer.