VirtualBox

Changeset 31280 in vbox


Ignore:
Timestamp:
Aug 2, 2010 10:34:44 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64307
Message:

Main: API docs

File:
1 edited

Legend:

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

    r31276 r31280  
    44754475
    44764476        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.
    44814478        In a VM's default configuration of virtual machines, the secondary
    44824479        master of the IDE controller is used for a CD/DVD drive.
    44834480
    44844481        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.
    44874489
    44884490        After calling this returns successfully, a new instance of
    44894491        <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"/>).
    44914493
    44924494        The specified device slot must not have a device attached to it,
     
    45144516        </result>
    45154517        <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.
    45174519        </result>
    45184520        <result name="VBOX_E_INVALID_VM_STATE">
     
    45204522        </result>
    45214523        <result name="VBOX_E_OBJECT_IN_USE">
    4522           Hard disk already attached to this or another virtual machine.
     4524          A medium is already attached to this or another virtual machine.
    45234525        </result>
    45244526
     
    45434545      </param>
    45444546      <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>
    45474550      </param>
    45484551    </method>
     
    85398542      Each medium attachment specifies the storage controller as well as a
    85408543      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"/>.
    85448551    </desc>
    85458552
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette