VirtualBox

Ignore:
Timestamp:
Jun 7, 2018 1:49:48 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122961
Message:

Main/Appliance: Teach importing new tricks: importing to specific location (by settings file name or base folder) and also importing straight into a group. Lots of cleanup and minor fixing (bad code quality due to lots of copy/paste, and what's worse is that the original code was broken already, using the variables inconsistently), plus some smallish coding style cleaup. Much more needed. Also fixed the incomplete use of the VM name on expert (the one in the VBox XML was not changed, and it's the preferred name on import).
VBoxManage: small updates to reflect the new features (and actually offer setting the VM name on export, which is something the GUI could do for a long time).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r72356 r72476  
    35193519  <enum
    35203520    name="VirtualSystemDescriptionType"
    3521     uuid="303c0900-a746-4612-8c67-79003e91f459"
     3521    uuid="e43225cb-09fc-4e70-a56c-6dad3bcb48a6"
    35223522    >
    35233523    <desc>Used with <link to="IVirtualSystemDescription" /> to describe the type of
     
    35483548    <const name="SoundCard" value="23" />
    35493549    <const name="SettingsFile" value="24">
    3550       <desc>Not used/implemented right now, will be added later in 4.1.x.</desc>
     3550      <desc>Optional, may be unset by the API caller. If this is changed by the
     3551        API caller it defines the absolute path of the VM settings file and
     3552        therefore also the VM folder with highest priority.</desc>
     3553    </const>
     3554    <const name="BaseFolder" value="25">
     3555      <desc>Optional, may be unset by the API caller. If set (and
     3556        <link to="#SettingsFile"/> is not changed), defines the VM base folder
     3557        (taking the primary group into account if also set).</desc>
     3558    </const>
     3559    <const name="PrimaryGroup" value="26">
     3560      <desc>Optional, empty by default and may be unset by the API caller.
     3561        Defines the primary group of the VM after import. May influence the
     3562        selection of the VM folder. Additional groups may be configured later
     3563        using <link to="IMachine::groups"/>, after importing.</desc>
    35513564    </const>
    35523565  </enum>
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