- Timestamp:
- Mar 11, 2022 2:24:52 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Config.kmk
r94171 r94172 62 62 man_VBoxManage-hostonlynet.xml \ 63 63 man_VBoxManage-updatecheck.xml \ 64 man_VBoxManage-discardstate.xml 64 man_VBoxManage-discardstate.xml \ 65 man_VBoxManage-adoptstate.xml 65 66 66 67 ## List of user manual XML files. -
trunk/doc/manual/en_US/man_VBoxManage-adoptstate.xml
r82969 r94172 20 20 <refentry id="vboxmanage-adoptstate" lang="en"> 21 21 <refentryinfo> 22 <pubdate> August 2019</pubdate>22 <pubdate>$Date$</pubdate> 23 23 <title>VBoxManage adoptstate</title> 24 24 </refentryinfo> … … 32 32 <refname>VBoxManage-adoptstate</refname> 33 33 <refpurpose>change a virtual machine's state based on a saved state file</refpurpose> 34 <refclass> Oracle VM VirtualBox</refclass>34 <refclass>&product-name;</refclass> 35 35 </refnamediv> 36 36 … … 85 85 <remark role="help-scope" condition="GLOBAL" /> 86 86 <para> 87 The following command starts a VM called <literal>vm2</literal> 88 using a saved state file called <filename>mystate.sav</filename>. 87 The following command adopts a saved state file called 88 <filename>mystate.sav</filename> by a VM called <literal>vm2</literal>. 89 A subsequent start of the VM called <literal>vm2</literal> restores the 90 state from the saved state file <filename>mystate.sav</filename>. 89 91 </para> 90 92 <screen>$ VBoxManage adoptstate vm2 /home/user/mystate.sav</screen> -
trunk/doc/manual/en_US/user_VBoxManage.xml
r94171 r94172 339 339 <xi:include href="user_man_VBoxManage-discardstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> 340 340 341 <sect1 id="vboxmanage-adoptstate"> 342 343 <title>VBoxManage adoptstate</title> 344 345 <para> 346 If you have a Saved state file (<filename>.sav</filename>) that is 347 separate from the VM configuration, you can use this command to 348 <emphasis>adopt</emphasis> the file. This will change the VM to 349 saved state and when you start it, &product-name; will attempt to 350 restore it from the saved state file you indicated. This command 351 should only be used in special setups. 352 </para> 353 354 </sect1> 341 <xi:include href="user_man_VBoxManage-adoptstate.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> 355 342 356 343 <xi:include href="user_man_VBoxManage-snapshot.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" /> -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r94171 r94172 217 217 { "unattended", USAGE_S_NEWCMD, HELP_CMD_UNATTENDED, handleUnattended, 0 }, 218 218 { "discardstate", USAGE_S_NEWCMD, HELP_CMD_DISCARDSTATE, handleDiscardState, 0 }, 219 { "adoptstate", USAGE_ ADOPTSTATE, VBMG_CMD_TODO, handleAdoptState, 0 },219 { "adoptstate", USAGE_S_NEWCMD, HELP_CMD_ADOPTSTATE, handleAdoptState, 0 }, 220 220 { "snapshot", USAGE_S_NEWCMD, HELP_CMD_SNAPSHOT, handleSnapshot, 0 }, 221 221 { "closemedium", USAGE_CLOSEMEDIUM, VBMG_CMD_TODO, handleCloseMedium, 0 }, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h
r94171 r94172 115 115 USAGE_I_LISTPARTITIONS, 116 116 USAGE_I_CREATERAWVMDK, 117 USAGE_ADOPTSTATE,118 117 USAGE_I_MODINSTALL, 119 118 USAGE_I_MODUNINSTALL, -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r94171 r94172 591 591 592 592 #define SEP pcszSep1, pcszSep2 593 594 if (enmCommand == USAGE_ADOPTSTATE || enmCommand == USAGE_S_ALL)595 RTStrmPrintf(pStrm,596 "%s adoptstate %s <uuid|vmname> <state_file>\n"597 "\n", SEP);598 593 599 594 if (enmCommand == USAGE_CLOSEMEDIUM || enmCommand == USAGE_S_ALL) -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r94171 r94172 789 789 790 790 if (a->argc != 2) 791 return errorSyntax( USAGE_ADOPTSTATE,Misc::tr("Incorrect number of parameters"));791 return errorSyntax(Misc::tr("Incorrect number of parameters")); 792 792 793 793 ComPtr<IMachine> machine;
Note:
See TracChangeset
for help on using the changeset viewer.