Changeset 16495 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Feb 3, 2009 9:20:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r16492 r16495 2990 2990 a configuration value.</desc> 2991 2991 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" /> 3005 3006 3006 3007 </enum> … … 3025 3026 The list below identifies the value sets that are possible depending on the 3026 3027 <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. 3030 3032 3031 3033 <ul> 3032 3034 <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" />). 3036 3040 </li> 3037 3041 <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 3040 3046 <link to="IMachine" /> name that does not exist yet. 3041 3047 </li> 3042 3048 <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. 3044 3050 </li> 3045 3051 <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. 3047 3055 </li> 3048 3056 <li> 3049 "HarddiskControllerSCSI": a SCSI hard disk controller. Here the items in aOrigValues[] and aAutoValues[] will either be3050 "LsiLogic" or "BusLogic". The matching item in the aRefValue[] array will contain a numerical3051 index that other items of the "Harddisk" type can use to specify which hard disk controller3052 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. 3053 3061 </li> 3054 3062 <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). 3059 3066 </li> 3060 3067 <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). 3067 3076 </li> 3068 3077 <li> 3069 3078 "NetworkAdapter": a network adapter. (todo document) 3070 3079 </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> 3071 3086 </ul> 3072 3087 … … 3077 3092 </param> 3078 3093 3094 <param name="aRefs" type="unsigned long" dir="out" safearray="yes"> 3095 <desc></desc> 3096 </param> 3097 3079 3098 <param name="aOrigValues" type="wstring" dir="out" safearray="yes"> 3080 3099 <desc></desc> 3081 3100 </param> 3082 3101 3083 <param name="a AutoValues" type="wstring" dir="out" safearray="yes">3102 <param name="aConfigValues" type="wstring" dir="out" safearray="yes"> 3084 3103 <desc></desc> 3085 3104 </param> 3086 3105 3087 <param name="a Configuration" type="wstring" dir="out" safearray="yes">3106 <param name="aExtraConfigValues" type="wstring" dir="out" safearray="yes"> 3088 3107 <desc></desc> 3089 3108 </param>
Note:
See TracChangeset
for help on using the changeset viewer.