VirtualBox

Changeset 16495 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Feb 3, 2009 9:20:36 PM (16 years ago)
Author:
vboxsync
Message:

OVF: VBoxManage import implementation (to be continued), back-end fixes, documentation updates

File:
1 edited

Legend:

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

    r16492 r16495  
    29902990    a configuration value.</desc>
    29912991
    2992     <const name="Name" value="1" />
    2993     <const name="OS" value="2" />
    2994     <const name="CPU" value="3" />
    2995     <const name="Memory" value="4" />
    2996     <const name="HardDiskControllerIDE" value="5" />
    2997     <const name="HardDiskControllerSATA" value="6" />
    2998     <const name="HardDiskControllerSCSI" value="7" />
    2999     <const name="HardDiskImage" value="8" />
    3000     <const name="CDROM" value="9" />
    3001     <const name="Floppy" value="10" />
    3002     <const name="NetworkAdapter" value="11" />
    3003     <const name="USBController" value="12" />
    3004     <const name="SoundCard" value="13" />
     2992    <const name="Ignore" value="1" />
     2993    <const name="Name" value="2" />
     2994    <const name="OS" value="3" />
     2995    <const name="CPU" value="4" />
     2996    <const name="Memory" value="5" />
     2997    <const name="HardDiskControllerIDE" value="6" />
     2998    <const name="HardDiskControllerSATA" value="7" />
     2999    <const name="HardDiskControllerSCSI" value="8" />
     3000    <const name="HardDiskImage" value="9" />
     3001    <const name="CDROM" value="10" />
     3002    <const name="Floppy" value="11" />
     3003    <const name="NetworkAdapter" value="12" />
     3004    <const name="USBController" value="13" />
     3005    <const name="SoundCard" value="14" />
    30053006
    30063007  </enum>
     
    30253026      The list below identifies the value sets that are possible depending on the
    30263027      <link to="VirtualSystemDescriptionType" /> enum value in the array item in aTypes[]. In each case,
    3027       the array item with the same index in aOrigValues[] will contain the original value as contained
    3028       in the OVF file, and the corresponding item in aAutoValues[] will contain a suggested value to
    3029       be used for VirtualBox. Items in the other arrays will be empty, unless specified otherwise below:
     3028      the array item with the same index in aOrigValue[] will contain the original value as contained
     3029      in the OVF file (just for informational purposes), and the corresponding item in aConfigValues[]
     3030      will contain a suggested value to be used for VirtualBox. Depending on the description type,
     3031      the aExtraConfigValues[] array item may also be used.
    30303032
    30313033      <ul>
    30323034      <li>
    3033         "OS": then the corresponding item in aAutoValues[] contains the suggested guest operating system
    3034         for VirtualBox. The corresponding item in aOrigValues[] will contain a numerical value that
    3035         described the operating system in the OVF (see <link to="CIMOSType" />).
     3035        "OS": the guest operating system type. There must be exactly one such array item on import. The
     3036        corresponding item in aConfigValues[] contains the suggested guest operating system for VirtualBox.
     3037        This will be one of the values listed in <link to="IVirtualBox::guestOSTypes" />. The corresponding
     3038        item in aOrigValues[] will contain a numerical value that described the operating system in the OVF
     3039        (see <link to="CIMOSType" />).
    30363040      </li>
    30373041      <li>
    3038         "Name": then the correponding item im aOrigValues[] will contain the suggested virtual machine name
    3039         from the OVF file, and aAutoValues[] will contain a suggestion for a unique VirtualBox
     3042        "Name": the name to give to the new virtual machine. There can be at most one such array item;
     3043        if none is present on import, then an automatic name will be created from the operating system
     3044        type. The correponding item im aOrigValues[] will contain the suggested virtual machine name
     3045        from the OVF file, and aConfigValues[] will contain a suggestion for a unique VirtualBox
    30403046        <link to="IMachine" /> name that does not exist yet.
    30413047      </li>
    30423048      <li>
    3043         "CPU": number of CPUs.
     3049        "CPU": the number of CPUs. There can be at most one such item, which will presently be ignored.
    30443050      </li>
    30453051      <li>
    3046         "Memory": amount of memory, in bytes.
     3052        "Memory": the amount of guest RAM, in bytes. There can be at most one such array item; if none
     3053        is present on import, then VirtualBox will set a meaningful default based on the operating system
     3054        type.
    30473055      </li>
    30483056      <li>
    3049         "HarddiskControllerSCSI": a SCSI hard disk controller. Here the items in aOrigValues[] and aAutoValues[] will either be
    3050         "LsiLogic" or "BusLogic". The matching item in the aRefValue[] array will contain a numerical
    3051         index that other items of the "Harddisk" type can use to specify which hard disk controller
    3052         a virtual disk should be connected to.
     3057        "HarddiskControllerSCSI": a SCSI hard disk controller. There can be at most one such item.
     3058        The items in aOrigValues[] and aConfigValues[] will either be "LsiLogic" or "BusLogic". The
     3059        matching item in the aRefs[] array will contain an integer that other items of the "Harddisk"
     3060        type can use to specify which hard disk controller a virtual disk should be connected to.
    30533061      </li>
    30543062      <li>
    3055         "HarddiskControllerIDE": an IDE hard disk controller. This has no value in aOrigValues[] or aAutoValues[];
    3056         as with SCSI controllers, the matching item in the aRefValues[] array will contain a numerical
    3057         index that other items of the "Harddisk" type can use to specify which hard disk controller
    3058         a virtual disk should be connected to.
     3063        "HarddiskControllerIDE": an IDE hard disk controller. There can be at most one such item. This
     3064        has no value in aOrigValues[] or aAutoValues[]. The matching item in the aRefs[] array will be
     3065        used as with SCSI controllers (see above).
    30593066      </li>
    30603067      <li>
    3061         "Harddisk": a virtual hard disk, most probably as a reference to an image file. The array item
    3062         in aOrigValues[] will contain the file specification from the OVF file, whereas the item
    3063         in aAutoValues[] will contain the fully qualified path to the image, which VirtualBox has verified
    3064         to exist.
    3065         The item in the aRefValues[] array specifies the hard disk controller to connect to and has the
    3066         same value as another aRefValues[] array item of the types listed above.
     3068        "Harddisk": a virtual hard disk, most probably as a reference to an image file. There can be an
     3069        arbitrary number of these items, one for each virtual disk image that accompanies the OVF. The
     3070        array item in aOrigValues[] will contain the file specification from the OVF file, whereas the item
     3071        in aConfigValues[] will contain a qualified path specification where the hard disk image should
     3072        be copied to; this target image will then be registered with VirtualBox.
     3073        The matching item in the aRefs[] array must contain a integer specifying the hard disk controller
     3074        to connect the image to. This number must be the same as the integer used by one of the hard disk
     3075        controller items (SCSI, SATA or IDE; see above).
    30673076      </li>
    30683077      <li>
    30693078        "NetworkAdapter": a network adapter. (todo document)
    30703079      </li>
     3080      <li>
     3081        "SoundCard": a sound card. There can be at most one such item. If and only if such an item is
     3082        present, sound support will be enabled for the new virtual machine. Note that the virtual
     3083        machine in VirtualBox will always be presented with the standard VirtualBox soundcard, which
     3084        may be different from the virtual soundcard expected by the appliance.
     3085      </li>
    30713086      </ul>
    30723087
     
    30773092      </param>
    30783093
     3094      <param name="aRefs" type="unsigned long" dir="out" safearray="yes">
     3095        <desc></desc>
     3096      </param>
     3097
    30793098      <param name="aOrigValues" type="wstring" dir="out" safearray="yes">
    30803099        <desc></desc>
    30813100      </param>
    30823101
    3083       <param name="aAutoValues" type="wstring" dir="out" safearray="yes">
     3102      <param name="aConfigValues" type="wstring" dir="out" safearray="yes">
    30843103        <desc></desc>
    30853104      </param>
    30863105
    3087       <param name="aConfiguration" type="wstring" dir="out" safearray="yes">
     3106      <param name="aExtraConfigValues" type="wstring" dir="out" safearray="yes">
    30883107        <desc></desc>
    30893108      </param>
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