Changeset 31280 in vbox
- Timestamp:
- Aug 2, 2010 10:34:44 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64307
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r31276 r31280 4475 4475 4476 4476 This method is intended for managing storage devices in general (it works 4477 for both fixed and removable media). For storage devices supporting removable 4478 media (such as DVDs and floppies), you can also use <link to="IMachine::mountMedium"/> 4479 for changing the media while the machine is running. 4480 4477 for both fixed and removable media) while a machine is powered off. 4481 4478 In a VM's default configuration of virtual machines, the secondary 4482 4479 master of the IDE controller is used for a CD/DVD drive. 4483 4480 4484 4481 For fixed media such as hard disks, the given medium identifier cannot 4485 be a zero UUID. It may be a zero UUID for removable media such as DVDs 4486 and floppies. 4482 be a zero UUID. 4483 4484 For storage devices supporting removable media (such as DVDs and floppies), 4485 you can also use <link to="IMachine::mountMedium"/> for changing the media 4486 while the machine is running. For those devices, you can also specify 4487 a zero UUID to indicate an empty drive or the UUID of a host drive; 4488 see <link to="IMediumAttachment" /> for details. 4487 4489 4488 4490 After calling this returns successfully, a new instance of 4489 4491 <link to="IMediumAttachment"/> will appear in the machine's list of medium 4490 attachments ( <link to="IMachine::mediumAttachments"/>).4492 attachments (see <link to="IMachine::mediumAttachments"/>). 4491 4493 4492 4494 The specified device slot must not have a device attached to it, … … 4514 4516 </result> 4515 4517 <result name="VBOX_E_INVALID_OBJECT_STATE"> 4516 Attempt to attach medium to an unregistered virtual machine.4518 Machine must be registered before media can be attached. 4517 4519 </result> 4518 4520 <result name="VBOX_E_INVALID_VM_STATE"> … … 4520 4522 </result> 4521 4523 <result name="VBOX_E_OBJECT_IN_USE"> 4522 Hard diskalready attached to this or another virtual machine.4524 A medium is already attached to this or another virtual machine. 4523 4525 </result> 4524 4526 … … 4543 4545 </param> 4544 4546 <param name="id" type="uuid" mod="string" dir="in"> 4545 <desc>UUID of the medium to mount. Zero UUID means do not mount any 4546 medium.</desc> 4547 <desc>UUID of the medium to mount. Can be a zero UUID or the UUID of 4548 a host drive for removeable media; see <link to="IMediumAttachment" /> 4549 for details.</desc> 4547 4550 </param> 4548 4551 </method> … … 8539 8542 Each medium attachment specifies the storage controller as well as a 8540 8543 port and device number and the IMedium instance representing a virtual 8541 hard disk or floppy or DVD image. As a special exception, for removeable 8542 media, the IMedium instance can be @c null to represent an empty drive 8543 with no media inserted (see <link to="IMachine::mountMedium" />). 8544 hard disk or floppy or DVD image. 8545 8546 For removeable media (DVDs or floppies), there are two additional 8547 options. For one, the IMedium instance can be @c null to represent 8548 an empty drive with no media inserted (see <link to="IMachine::mountMedium" />); 8549 secondly, the medium can be one of the pseudo-media for host drives 8550 listed in <link to="IHost::DVDDrives"/> or <link to="IHost::floppyDrives"/>. 8544 8551 </desc> 8545 8552
Note:
See TracChangeset
for help on using the changeset viewer.