Changeset 44152 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Dec 18, 2012 3:47:08 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 82842
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r44041 r44152 1440 1440 /* stateFilePath is null when the machine is not online nor saved */ 1441 1441 if (fTakingSnapshotOnline) 1442 // creating a new online snapshot: then we need a fresh saved state file 1443 composeSavedStateFilename(strStateFilePath); 1442 { 1443 Bstr value; 1444 HRESULT rc = GetExtraData(Bstr("VBoxInternal2/ForceTakeSnapshotWithoutState").raw(), 1445 value.asOutParam()); 1446 if (FAILED(rc) || value != "1") 1447 { 1448 // creating a new online snapshot: we need a fresh saved state file 1449 composeSavedStateFilename(strStateFilePath); 1450 } 1451 } 1444 1452 else if (mData->mMachineState == MachineState_Saved) 1445 1453 // taking an online snapshot from machine in "saved" state: then use existing state file
Note:
See TracChangeset
for help on using the changeset viewer.