VirtualBox

Ignore:
Timestamp:
Mar 12, 2009 2:22:08 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44274
Message:

Main: update SCSI API docs

File:
1 edited

Legend:

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

    r17737 r17752  
    42674267    <method name="attachHardDisk">
    42684268      <desc>
    4269         Attaches a virtual hard disk identified by the given UUID @a id
    4270         to a device slot of the specified bus.
    4271 
    4272         For the IDE bus, the @a port parameter can be either @c 0 or @c 1, to
    4273         specify the primary or secondary IDE controller, respectively. The
    4274         SATA bus supports 30 ports, so this parameter can be a number
    4275         ranging from @c 0 to @c 29.
    4276 
    4277         For the primary controller of the IDE bus, the @a device number can be
    4278         either @c 0 or @c 1, to specify the master or the slave device,
    4279         respectively. For the secondary IDE controller, the device number is
    4280         always @c 1 because the master device is reserved for the CD-ROM drive.
    4281 
    4282         For the SATA bus, the @a device parameter is currently unused and
    4283         must be @c 0.
     4269        Attaches a virtual hard disk (identified by the given UUID @a id)
     4270        to the given hard disk controller (identified by @a name),
     4271        at the indicated port and device.
     4272
     4273        For the IDE bus, the @a controllerPort parameter can be either
     4274        @c 0 or @c 1, to specify the primary or secondary IDE controller,
     4275        respectively. For the primary controller of the IDE bus,
     4276        @a device can be either @c 0 or @c 1, to specify the master or the
     4277        slave device, respectively. For the secondary IDE controller, the
     4278        device number must be @c 1 because VirtualBox reserves the
     4279        secondary master for the CD-ROM drive.
     4280
     4281        For an SATA controller, @a controllerPort must be a number ranging
     4282        from @c 0 to @c 29. For a SCSI controller, @a controllerPort must
     4283        be a number ranging from @c 0 to @c 15.
     4284
     4285        For both SCSI and SATA, the @a device parameter is unused and must
     4286        be @c 0.
    42844287
    42854288        The specified device slot must not have another disk attached to it, or
     
    44414444    <method name="addStorageController">
    44424445      <desc>
    4443         Adds a new storage controller to the machine.
     4446        Adds a new storage controller (SCSI or SATA controller) to the machine.
     4447        @a name identifies the controller with subsequent calls such as
     4448        <link to="#getStorageControllerByName" /> or
     4449        <link to="#removeStorageController" /> or
     4450        <link to="#attachHardDisk" />.
    44444451
    44454452        <result name="VBOX_E_OBJECT_IN_USE">
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