Changeset 42538 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Aug 2, 2012 1:28:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r42525 r42538 1206 1206 <interface 1207 1207 name="IVirtualBoxErrorInfo" extends="$errorinfo" 1208 uuid=" e053d3c0-f493-491b-a735-3a9f0b1feed4"1208 uuid="f91e6e91-49e1-4fd2-b21e-269003350d06" 1209 1209 supportsErrorInfo="no" 1210 1210 wsmap="managed" … … 3757 3757 <interface 3758 3758 name="IMachine" extends="$unknown" 3759 uuid=" f5b974bd-473b-43b6-b800-1ec40b9a8513"3759 uuid="481ae051-96ed-4ba3-81e6-7b2c186005bc" 3760 3760 wsmap="managed" 3761 3761 > … … 4812 4812 </method> 4813 4813 4814 <method name="attachDeviceWithoutMedium"> 4815 <desc> 4816 Attaches a device and optionally mounts a medium to the given storage 4817 controller (<link to="IStorageController" />, identified by @a name), 4818 at the indicated port and device. 4819 4820 This method is intended for managing storage devices in general while a 4821 machine is powered off. It can be used to attach and detach fixed 4822 and removable media. The following kind of media can be attached 4823 to a machine: 4824 <ul> 4825 <li> 4826 For fixed and removable media, you can pass in a medium that was 4827 previously opened using <link to="IVirtualBox::openMedium" />. 4828 </li> 4829 4830 <li>Only for storage devices supporting removable media (such as 4831 DVDs and floppies) with an empty drive or one of the medium objects listed 4832 in the <link to="IHost::DVDDrives" /> and <link to="IHost::floppyDrives"/> 4833 arrays to indicate a host drive. 4834 For removable devices, you can also use <link to="IMachine::mountMedium"/> 4835 to change the media while the machine is running. 4836 </li> 4837 </ul> 4838 4839 In a VM's default configuration of virtual machines, the secondary 4840 master of the IDE controller is used for a CD/DVD drive. 4841 <link to="IMediumAttachment"/> will appear in the machine's list of medium 4842 attachments (see <link to="IMachine::mediumAttachments"/>). 4843 4844 See <link to="IMedium"/> and <link to="IMediumAttachment"/> for more 4845 information about attaching media. 4846 4847 The specified device slot must not have a device attached to it, 4848 or this method will fail. 4849 <note> 4850 You cannot attach a device to a newly created machine until 4851 this machine's settings are saved to disk using 4852 <link to="#saveSettings"/>. 4853 </note> 4854 <note> 4855 If the medium is being attached indirectly, a new differencing medium 4856 will implicitly be created for it and attached instead. If the 4857 changes made to the machine settings (including this indirect 4858 attachment) are later cancelled using <link to="#discardSettings"/>, 4859 this implicitly created differencing medium will implicitly 4860 be deleted. 4861 </note> 4862 4863 <result name="E_INVALIDARG"> 4864 SATA device, SATA port, IDE port or IDE slot out of range, or 4865 file or UUID not found. 4866 </result> 4867 <result name="VBOX_E_INVALID_OBJECT_STATE"> 4868 Machine must be registered before media can be attached. 4869 </result> 4870 <result name="VBOX_E_INVALID_VM_STATE"> 4871 Invalid machine state. 4872 </result> 4873 <result name="VBOX_E_OBJECT_IN_USE"> 4874 A medium is already attached to this or another virtual machine. 4875 </result> 4876 </desc> 4877 <param name="name" type="wstring" dir="in"> 4878 <desc>Name of the storage controller to attach the device to.</desc> 4879 </param> 4880 <param name="controllerPort" type="long" dir="in"> 4881 <desc>Port to attach the device to. For an IDE controller, 0 specifies 4882 the primary controller and 1 specifies the secondary controller. 4883 For a SCSI controller, this must range from 0 to 15; for a SATA controller, 4884 from 0 to 29; for an SAS controller, from 0 to 7.</desc> 4885 </param> 4886 <param name="device" type="long" dir="in"> 4887 <desc>Device slot in the given port to attach the device to. This is only 4888 relevant for IDE controllers, for which 0 specifies the master device and 4889 1 specifies the slave device. For all other controller types, this must 4890 be 0.</desc> 4891 </param> 4892 <param name="type" type="DeviceType" dir="in"> 4893 <desc>Device type of the attached device. For media opened by 4894 <link to="IVirtualBox::openMedium" />, this must match the device type 4895 specified there.</desc> 4896 </param> 4897 </method> 4898 4814 4899 <method name="detachDevice"> 4815 4900 <desc> … … 5042 5127 </method> 5043 5128 5044 <method name="UnmountMedium"> 5129 <method name="setNoBandwidthGroupForDevice"> 5130 <desc> 5131 Sets no bandwidth group for an existing storage device. 5132 The device must already exist; see <link to="IMachine::attachDevice"/> 5133 for how to attach a new device. 5134 The @a controllerPort and @a device parameters specify the device slot and 5135 have have the same meaning as with <link to="IMachine::attachDevice" />. 5136 <result name="E_INVALIDARG"> 5137 SATA device, SATA port, IDE port or IDE slot out of range. 5138 </result> 5139 <result name="VBOX_E_INVALID_OBJECT_STATE"> 5140 Attempt to modify an unregistered virtual machine. 5141 </result> 5142 <result name="VBOX_E_INVALID_VM_STATE"> 5143 Invalid machine state. 5144 </result> 5145 5146 </desc> 5147 <param name="name" type="wstring" dir="in"> 5148 <desc>Name of the storage controller.</desc> 5149 </param> 5150 <param name="controllerPort" type="long" dir="in"> 5151 <desc>Storage controller port.</desc> 5152 </param> 5153 <param name="device" type="long" dir="in"> 5154 <desc>Device slot in the given port.</desc> 5155 </param> 5156 </method> 5157 5158 5159 <method name="unmountMedium"> 5045 5160 <desc> 5046 5161 Unmounts any currently mounted medium (<link to="IMedium" />, … … 12252 12367 <interface 12253 12368 name="IMedium" extends="$unknown" 12254 uuid=" 53f9cc0c-e0fd-40a5-a404-a7a5272082cd"12369 uuid="29989373-b111-4654-8493-2e1176cba890" 12255 12370 wsmap="managed" 12256 12371 > … … 13389 13504 <desc>Progress object to track the operation completion.</desc> 13390 13505 </param> 13506 </method> 13507 13508 <method name="cloneToBase"> 13509 <desc> 13510 Starts creating a clone of this medium in the format and at the 13511 location defined by the @a target argument. 13512 13513 The target medium must be either in <link to="MediumState_NotCreated"/> 13514 state (i.e. must not have an existing storage unit) or in 13515 <link to="MediumState_Created"/> state (i.e. created and not locked, and 13516 big enough to hold the data or else the copy will be partial). Upon 13517 successful completion, the cloned medium will contain exactly the 13518 same sector data as the medium being cloned, except that in the 13519 first case a new UUID for the clone will be randomly generated, and in 13520 the second case the UUID will remain unchanged. 13521 13522 The @a parent argument defines which medium will be the parent 13523 of the clone. In this case the clone will be a base image, i.e. 13524 completely independent. It is possible to specify an arbitrary 13525 medium for this parameter, including the parent of the 13526 medium which is being cloned. Even cloning to a child of the source 13527 medium is possible. Note that when cloning to an existing image, the 13528 @a parent argument is ignored. 13529 13530 After the returned progress object reports that the operation is 13531 successfully complete, the target medium gets remembered by this 13532 VirtualBox installation and may be attached to virtual machines. 13533 13534 <note> 13535 This medium will be placed to <link to="MediumState_LockedRead"/> 13536 state for the duration of this operation. 13537 </note> 13538 <result name="E_NOTIMPL"> 13539 The specified cloning variant is not supported at the moment. 13540 </result> 13541 </desc> 13542 <param name="target" type="IMedium" dir="in"> 13543 <desc>Target medium.</desc> 13544 </param> 13545 <param name="variant" type="unsigned long" dir="in"> 13546 <desc>Exact image variant which should be created (as a combination of 13547 <link to="MediumVariant" /> flags).</desc> 13548 </param> 13549 <param name="progress" type="IProgress" dir="return"> 13550 <desc>Progress object to track the operation completion.</desc> 13551 </param> 13391 13552 </method> 13392 13553
Note:
See TracChangeset
for help on using the changeset viewer.