VirtualBox

Changeset 33767 in vbox


Ignore:
Timestamp:
Nov 4, 2010 2:08:41 PM (14 years ago)
Author:
vboxsync
Message:

Main: API docs

File:
1 edited

Legend:

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

    r33765 r33767  
    15421542        </ul>
    15431543
    1544         See the <link to="IMachine::name"/> attribute description for more details about
    1545         the machine name.
    1546 
    1547         Every machine has a <i>settings file</i> that is used to store
    1548         the machine configuration. This file is stored in a directory called the
    1549         <i>machine settings subfolder</i>. Both the settings subfolder and file
    1550         will have a name that corresponds to the name of the virtual machine.
    1551         You can specify where to create the machine setting subfolder using the
    1552         @a baseFolder argument.
     1544        See <link to="IMachine::name"/> and <link to="#createMachine"/> for more
     1545        details about the machine name.
    15531546
    15541547        If @a baseFolder is a @c null or empty string (which is recommended), the
    15551548        default machine settings folder
    15561549        (see <link to="ISystemProperties::defaultMachineFolder" />) will be used as
    1557         a base folder for the created machine. Otherwise the given base folder
     1550        a base folder for the created machine, resulting in a file name like
     1551        "/home/user/VirtualBox VMs/name/name.vbox". Otherwise the given base folder
    15581552        will be used.
    1559 
    1560         In either case, the full path to the resulting settings file has the
    1561         following structure:
    1562         <pre>
    1563           &lt;base_folder&gt;/&lt;machine_name&gt;/&lt;machine_name&gt;.xml
    1564         </pre>
    15651553
    15661554        This method does not access the host disks. In particular, it does not check
     
    15851573        VirtualBox machine settings files use a custom XML dialect. Starting
    15861574        with VirtualBox 4.0, a ".vbox" extension is recommended, but not enforced,
    1587         and machine files can be created at arbitrary locations. However, it is
    1588         is recommended that machines are created in the "VirtualBox VMs" folder
    1589         created in the user's home directory
    1590         (e.g. "/home/user/VirtualBox VMs/name/name.vbox").
    1591 
    1592         If you specify NULL for the @a settingsFile argument,
    1593         <link to="#composeMachineFilename" /> is called automatically to have
    1594         such a recommended name composed based on the machine name given in
    1595         the @a name argument.
     1575        and machine files can be created at arbitrary locations.
     1576
     1577        However, it is is recommended that machines be created in the default
     1578        machine folder (e.g. "/home/user/VirtualBox VMs/name/name.vbox"; see
     1579        <link to="ISystemProperties::defaultMachineFolder" />). If you specify
     1580        NULL for the @a settingsFile argument, <link to="#composeMachineFilename" />
     1581        is called automatically to have such a recommended name composed based
     1582        on the machine name given in the @a name argument.
     1583
     1584        If the resulting settings file already exists, this method will fail,
     1585        unless @a forceOverwrite is set.
    15961586
    15971587        The new machine is created unregistered, with the initial configuration
     
    16251615        guest OS types listed in the <link to="IVirtualBox::guestOSTypes"/>
    16261616        array.
    1627 
    1628         If the resulting settings file already exists, this method will fail
    1629         with <link to="VBOX_E_FILE_ERROR"/>.
    16301617
    16311618        Optionally, you may specify an UUID of to assign to the created machine.
     
    35623549        will return an appropriate error message explaining the exact
    35633550        reason and the changes you made to this machine will not be saved.
     3551
     3552        Starting with VirtualBox 4.0, a “.vbox” extension of the settings
     3553        file is recommended, but not enforced. (Previous versions always
     3554        used a generic ".xml" extension.)
    35643555      </desc>
    35653556    </attribute>
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