VirtualBox

Changeset 38056 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 19, 2011 9:03:26 AM (13 years ago)
Author:
vboxsync
Message:

Main/Machine: disable clone mode "machine and child states" for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r38014 r38056  
    14561456                || (iHighestId >= mHWData->mCPUCount))
    14571457                return setError(E_INVALIDARG,
    1458                                 tr("CPU hotplugging can't be disabled because the maximum number of CPUs is not equal to the amount of CPUs attached\n"));
     1458                                tr("CPU hotplugging can't be disabled because the maximum number of CPUs is not equal to the amount of CPUs attached"));
    14591459
    14601460            setModified(IsModified_MachineData);
     
    62556255    CheckComArgOutPointerValid(pProgress);
    62566256
     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"));
     6262
    62576263    /* Convert the options. */
    62586264    RTCList<CloneOptions_T> optList;
     
    62646270        if (!isSnapshotMachine())
    62656271            return setError(E_INVALIDARG,
    6266                             tr("Linked clone can only be created from a snapshot\n"));
     6272                            tr("Linked clone can only be created from a snapshot"));
    62676273        if (mode != CloneMode_MachineState)
    62686274            return setError(E_INVALIDARG,
    6269                             tr("Linked clone can only be created for a single machine state\n"));
     6275                            tr("Linked clone can only be created for a single machine state"));
    62706276    }
    62716277    AssertReturn(!(optList.contains(CloneOptions_KeepAllMACs) && optList.contains(CloneOptions_KeepNATMACs)), E_INVALIDARG);
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