VirtualBox

Changeset 48879 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Oct 4, 2013 8:37:50 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89551
Message:

Main/MediumAttachment+Machine: stub attribute/method for an explicit hot-pluggable medium attachment flag, to be used by AHCI soon

File:
1 edited

Legend:

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

    r48824 r48879  
    41224122  <interface
    41234123    name="IMachine" extends="$unknown"
    4124     uuid="7108c7c7-2c0a-47ee-9c69-022fe2a466bf"
     4124    uuid="480cf695-2d8d-4256-9c7c-cce4184fa048"
    41254125    wsmap="managed"
    41264126    >
     
    55645564    </method>
    55655565
     5566    <method name="setHotPluggableForDevice">
     5567      <desc>
     5568        Sets a flag in the device information which indicates that the attached
     5569        device is hot pluggable or not. This may or may not be supported by a
     5570        particular controller and/or drive, and is silently ignored in the
     5571        latter case. Changing the setting while the VM is running is forbidden.
     5572        The device must already exist; see <link to="IMachine::attachDevice"/>
     5573        for how to attach a new device.
     5574
     5575        The @a controllerPort and @a device parameters specify the device slot and
     5576        have have the same meaning as with <link to="IMachine::attachDevice" />.
     5577
     5578        <result name="E_INVALIDARG">
     5579          SATA device, SATA port, IDE port or IDE slot out of range.
     5580        </result>
     5581        <result name="VBOX_E_INVALID_OBJECT_STATE">
     5582          Attempt to modify an unregistered virtual machine.
     5583        </result>
     5584        <result name="VBOX_E_INVALID_VM_STATE">
     5585          Invalid machine state.
     5586        </result>
     5587        <result name="VBOX_E_NOT_SUPPORTED">
     5588          Controller doesn't support hot plugging.
     5589        </result>
     5590      </desc>
     5591
     5592      <param name="name" type="wstring" dir="in">
     5593        <desc>Name of the storage controller.</desc>
     5594      </param>
     5595      <param name="controllerPort" type="long" dir="in">
     5596        <desc>Storage controller port.</desc>
     5597      </param>
     5598      <param name="device" type="long" dir="in">
     5599        <desc>Device slot in the given port.</desc>
     5600      </param>
     5601      <param name="hotPluggable" type="boolean" dir="in">
     5602        <desc>New value for the hot-pluggable device flag.</desc>
     5603      </param>
     5604    </method>
     5605
    55665606    <method name="setBandwidthGroupForDevice">
    55675607      <desc>
     
    56295669
    56305670    <method name="unmountMedium">
    5631           <desc>
    5632             Unmounts any currently mounted medium (<link to="IMedium" />,
    5633             identified by the given UUID @a id) to the given storage controller
    5634             (<link to="IStorageController" />, identified by @a name),
    5635             at the indicated port and device. The device must already exist;
    5636 
    5637             This method is intended only for managing removable media, where the
    5638             device is fixed but media is changeable at runtime (such as DVDs
    5639             and floppies). It cannot be used for fixed media such as hard disks.
    5640 
    5641             The @a controllerPort and @a device parameters specify the device slot
    5642             and have have the same meaning as with
    5643             <link to="IMachine::attachDevice" />.
    5644 
    5645             The specified device slot must have a medium mounted, which will be
    5646             unmounted. If there is no mounted medium it will do nothing.
    5647             See <link to="IMedium"/> for more detailed information about
    5648             attaching/unmounting media.
    5649 
    5650             <result name="E_INVALIDARG">
    5651             SATA device, SATA port, IDE port or IDE slot out of range.
    5652             </result>
    5653             <result name="VBOX_E_INVALID_OBJECT_STATE">
    5654             Attempt to unmount medium that is not removable - not DVD or floppy.
    5655             </result>
    5656             <result name="VBOX_E_INVALID_VM_STATE">
    5657             Invalid machine state.
    5658             </result>
    5659             <result name="VBOX_E_OBJECT_IN_USE">
    5660             Medium already attached to this or another virtual machine.
    5661             </result>
    5662             <result name="VBOX_E_OBJECT_NOT_FOUND">
    5663             Medium not attached to specified port, device, controller.
    5664             </result>
    5665 
    5666             </desc>
    5667               <param name="name" type="wstring" dir="in">
    5668               <desc>Name of the storage controller to unmount the medium from.</desc>
    5669               </param>
    5670               <param name="controllerPort" type="long" dir="in">
    5671               <desc>Port to unmount the medium from.</desc>
    5672               </param>
    5673               <param name="device" type="long" dir="in">
    5674               <desc>Device slot in the given port to unmount the medium from.</desc>
    5675               </param>
    5676               <param name="force" type="boolean" dir="in">
    5677               <desc>Allows to force unmount of a medium which is locked by
    5678               the device slot in the given port medium is attached to.</desc>
    5679               </param>
    5680           </method>
     5671      <desc>
     5672        Unmounts any currently mounted medium (<link to="IMedium" />,
     5673        identified by the given UUID @a id) to the given storage controller
     5674        (<link to="IStorageController" />, identified by @a name),
     5675        at the indicated port and device. The device must already exist;
     5676
     5677        This method is intended only for managing removable media, where the
     5678        device is fixed but media is changeable at runtime (such as DVDs
     5679        and floppies). It cannot be used for fixed media such as hard disks.
     5680
     5681        The @a controllerPort and @a device parameters specify the device slot
     5682        and have have the same meaning as with
     5683        <link to="IMachine::attachDevice" />.
     5684
     5685        The specified device slot must have a medium mounted, which will be
     5686        unmounted. If there is no mounted medium it will do nothing.
     5687        See <link to="IMedium"/> for more detailed information about
     5688        attaching/unmounting media.
     5689
     5690        <result name="E_INVALIDARG">
     5691          SATA device, SATA port, IDE port or IDE slot out of range.
     5692        </result>
     5693        <result name="VBOX_E_INVALID_OBJECT_STATE">
     5694          Attempt to unmount medium that is not removable - not DVD or floppy.
     5695        </result>
     5696        <result name="VBOX_E_INVALID_VM_STATE">
     5697          Invalid machine state.
     5698        </result>
     5699        <result name="VBOX_E_OBJECT_IN_USE">
     5700          Medium already attached to this or another virtual machine.
     5701        </result>
     5702        <result name="VBOX_E_OBJECT_NOT_FOUND">
     5703          Medium not attached to specified port, device, controller.
     5704        </result>
     5705      </desc>
     5706
     5707      <param name="name" type="wstring" dir="in">
     5708        <desc>Name of the storage controller to unmount the medium from.</desc>
     5709      </param>
     5710      <param name="controllerPort" type="long" dir="in">
     5711        <desc>Port to unmount the medium from.</desc>
     5712      </param>
     5713      <param name="device" type="long" dir="in">
     5714        <desc>Device slot in the given port to unmount the medium from.</desc>
     5715      </param>
     5716      <param name="force" type="boolean" dir="in">
     5717        <desc>Allows to force unmount of a medium which is locked by
     5718        the device slot in the given port medium is attached to.</desc>
     5719      </param>
     5720    </method>
    56815721
    56825722    <method name="mountMedium">
     
    1285412894  <interface
    1285512895    name="IMediumAttachment" extends="$unknown"
    12856     uuid="5ee464d6-0613-4331-b154-7ce12170ef9f"
     12896    uuid="4b252567-5d4e-4db8-b3c8-569ec1c9236c"
    1285712897    wsmap="struct"
    1285812898    >
     
    1308213122    <attribute name="discard" type="boolean" readonly="yes">
    1308313123      <desc>Whether the associated medium supports discarding unused blocks.</desc>
     13124    </attribute>
     13125
     13126    <attribute name="hotPluggable" type="boolean" readonly="yes">
     13127      <desc>Whether this attachment is hot pluggable or not.</desc>
    1308413128    </attribute>
    1308513129
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