VirtualBox

Ignore:
Timestamp:
Jul 7, 2011 3:29:03 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72711
Message:

Main/Machine+MediumAttachment+Console: add method for marking a 'hard disk' as non-rotational, which optimizes performance in modern guest OSes
Frontends/VBoxManage+VirtualBox: support the new method
ChangeLog: add quite a few forgotten improvements and fixes

File:
1 edited

Legend:

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

    r37779 r37824  
    46914691    </method>
    46924692
     4693    <method name="nonRotationalDevice">
     4694      <desc>
     4695        Sets a flag in the device information which indicates that the medium
     4696        is not based on rotational technology, i.e. that the access times are
     4697        more or less independent of the position on the medium. This may or may
     4698        not be supported by a particular drive, and is silently ignored in the
     4699        latter case. At the moment only hard disks (which is a misnomer in this
     4700        context) accept this setting. Changing the setting while the VM is
     4701        running is forbidden. The device must already exist; see
     4702        <link to="IMachine::attachDevice"/> for how to attach a new device.
     4703
     4704        The @a controllerPort and @a device parameters specify the device slot and
     4705        have have the same meaning as with <link to="IMachine::attachDevice" />.
     4706
     4707        <result name="E_INVALIDARG">
     4708          SATA device, SATA port, IDE port or IDE slot out of range.
     4709        </result>
     4710        <result name="VBOX_E_INVALID_OBJECT_STATE">
     4711          Attempt to modify an unregistered virtual machine.
     4712        </result>
     4713        <result name="VBOX_E_INVALID_VM_STATE">
     4714          Invalid machine state.
     4715        </result>
     4716
     4717      </desc>
     4718      <param name="name" type="wstring" dir="in">
     4719        <desc>Name of the storage controller.</desc>
     4720      </param>
     4721      <param name="controllerPort" type="long" dir="in">
     4722        <desc>Storage controller port.</desc>
     4723      </param>
     4724      <param name="device" type="long" dir="in">
     4725        <desc>Device slot in the given port.</desc>
     4726      </param>
     4727      <param name="nonRotational" type="boolean" dir="in">
     4728        <desc>New value for the non-rotational device flag.</desc>
     4729      </param>
     4730    </method>
     4731
    46934732    <method name="setBandwidthGroupForDevice">
    46944733      <desc>
     
    98409879      <desc>Signals that the removable medium has been ejected. This is not
    98419880        necessarily equivalent to having a @c null medium association.</desc>
     9881    </attribute>
     9882
     9883    <attribute name="nonRotational" type="boolean" readonly="yes">
     9884      <desc>Whether the associated medium is non-rotational.</desc>
    98429885    </attribute>
    98439886
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