Changeset 91130 in vbox
- Timestamp:
- Sep 6, 2021 7:00:34 PM (3 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r90828 r91130 9079 9079 <desc> 9080 9080 Move machine on to new place/folder 9081 <result name="E_INVALIDARG">9082 @a target is @c null.9083 </result>9084 9081 </desc> 9085 9082 9086 9083 <param name="folder" type="wstring" dir="in"> 9087 <desc>Target folder where machine is moved.</desc> 9084 <desc>Target folder where machine is moved. May be the same folder 9085 where the VM already is located or the empty string, in which 9086 case the machine is kept in this location and the disk images 9087 and other files which are stored elsewhere are moved.</desc> 9088 9088 </param> 9089 9089 -
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r90828 r91130 6975 6975 if (SUCCEEDED(hrc)) 6976 6976 { 6977 com::Utf8Str strDefaultPath; 6978 if (aTargetPath.isEmpty()) 6979 i_calculateFullPath(".", strDefaultPath); 6980 6977 6981 /* Initialize our worker task */ 6978 6982 MachineMoveVM *pTask = NULL; 6979 6983 try 6980 6984 { 6981 pTask = new MachineMoveVM(this, aTargetPath , aType, ptrProgress);6985 pTask = new MachineMoveVM(this, aTargetPath.isEmpty() ? strDefaultPath : aTargetPath, aType, ptrProgress); 6982 6986 } 6983 6987 catch (std::bad_alloc &)
Note:
See TracChangeset
for help on using the changeset viewer.