VirtualBox

Changeset 38099 in vbox


Ignore:
Timestamp:
Jul 21, 2011 1:39:27 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4/CLI;Main;Docu: enable MachineAndChildren in clone VM again for ease of testing

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r38085 r38099  
    11071107       </listitem>
    11081108       <listitem>
    1109            <para><computeroutput>--mode machine|all</computeroutput>:
     1109           <para><computeroutput>--mode machine|machineandchildren|all</computeroutput>:
    11101110           Selects the cloning mode of the operation. If
    11111111           <computeroutput>machine</computeroutput> is selected (the default),
    1112            the current state of the VM without any snapshots is cloned. If
    1113            <computeroutput>all</computeroutput> is the selected mode all
    1114            snapshots and the current state are cloned.
     1112           the current state of the VM without any snapshots is cloned. In the
     1113           <computeroutput>machineandchildren</computeroutput> mode the snapshot
     1114           provided by <computeroutput>--snapshot</computeroutput> and all
     1115           child snapshots are cloned. If <computeroutput>all</computeroutput>
     1116           is the selected mode all snapshots and the current state are cloned.
    11151117           </para>
    11161118       </listitem>
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r38055 r38099  
    335335                     "VBoxManage clonevm          <uuid>|<name>\n"
    336336                     "                            [--snapshot <uuid>|<name>]\n"
    337                      "                            [--mode machine|all]\n"
     337                     "                            [--mode machine|machineandchildren|all]\n"
    338338                     "                            [--options link|keepallmacs|keepnatmacs|\n"
    339339                     "                                       keepdisknames]\n"
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r38070 r38099  
    282282    if (!RTStrICmp(psz, "machine"))
    283283        *pMode = CloneMode_MachineState;
    284 //    else if (!RTStrICmp(psz, "machineandchildren"))
    285 //        *pMode = CloneMode_MachineAndChildStates;
     284    else if (!RTStrICmp(psz, "machineandchildren"))
     285        *pMode = CloneMode_MachineAndChildStates;
    286286    else if (!RTStrICmp(psz, "all"))
    287287        *pMode = CloneMode_AllStates;
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UICloneVMWizard.cpp

    r38055 r38099  
    4040     * for it. */
    4141    if (machine.GetSnapshotCount() > 0)
    42 //        addPage(new UICloneVMWizardPage2(fShowChildsOption));
    43         addPage(new UICloneVMWizardPage2(false));
     42        addPage(new UICloneVMWizardPage2(fShowChildsOption));
    4443
    4544    /* Translate wizard: */
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r38056 r38099  
    62546254    CheckComArgNotNull(pTarget);
    62556255    CheckComArgOutPointerValid(pProgress);
    6256 
    6257     /** @todo r=klaus disabled as there are apparently still cases which are
    6258      * not handled correctly */
    6259     if (mode == CloneMode_MachineAndChildStates)
    6260         return setError(VBOX_E_NOT_SUPPORTED,
    6261                         tr("The clone mode \"Machine and child states\" is not yet supported. Please try again in the next VirtualBox maintenance update"));
    62626256
    62636257    /* Convert the options. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette