VirtualBox

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


Ignore:
Timestamp:
Mar 12, 2010 11:25:58 AM (15 years ago)
Author:
vboxsync
Message:

Main: Introduce various I/O control settings:

  • Used I/O manager (Simple,Async)
  • Used I/O backend (Buffered,Unbuffered)
  • I/O cache (on,off)
  • I/O cache size
  • Maximum I/O bandwidth used by the VM (0 for disabled)
File:
1 edited

Legend:

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

    r27166 r27324  
    11781178  </enum>
    11791179
    1180 
     1180  <enum
     1181   name="IoMgrType"
     1182   uuid="35567419-4d2a-4256-a74e-efcae33493a2"
     1183   >
     1184     <desc>
     1185       Type of the I/O manager used for the image files in a virtual machine.
     1186     </desc>
     1187     <const name="Simple" value="1">
     1188       <desc>Simple manager. Normally only used if the default one runs into an
     1189       error. </desc>
     1190     </const>
     1191     <const name="Async" value="2">
     1192       <desc>Asynchronous manager using the async I/O API on the host if present.
     1193       This is the default manager.</desc>
     1194     </const>
     1195   </enum>
     1196
     1197  <enum
     1198   name="IoBackendType"
     1199   uuid="2a7e16d1-4e6b-4d5d-b0c9-b9bbe6c5b2ad"
     1200   >
     1201     <desc>
     1202       Type of I/O backend used for the image files in a virtual machine.
     1203     </desc>
     1204     <const name="Buffered" value="1">
     1205       <desc>Image files will use the host cache if possible.
     1206       This type does not work with the Async I/O manager on Linux hosts.
     1207       Default on all hosts except Linux.</desc>
     1208     </const>
     1209     <const name="Unbuffered" value="2">
     1210       <desc>Image files will not use the host cache.
     1211       This should be used on OS X and Linux hosts if a high I/O load is expected
     1212       or many virtual machines are running to prevent I/O cache
     1213       related hangs. Default on Linux hosts.</desc>
     1214     </const>
     1215  </enum>
    11811216
    11821217  <!--
     
    42324267  <interface
    42334268     name="IMachine" extends="$unknown"
    4234      uuid="f2816298-7408-4c44-a117-0ed8ea09b9bc"
     4269     uuid="8d8f6fbb-54c1-4604-b68e-17619d458611"
    42354270     wsmap="managed"
    42364271     >
     
    47714806    </attribute>
    47724807
     4808    <attribute name="ioMgr" type="IoMgrType">
     4809      <desc>
     4810        Selects the I/O manager to use for the virtual machine.
     4811      </desc>
     4812    </attribute>
     4813
     4814    <attribute name="ioBackend" type="IoBackendType">
     4815      <desc>
     4816        Selects the I/O backend to use for the virtual machine.
     4817      </desc>
     4818    </attribute>
     4819
     4820    <attribute name="ioCacheEnabled" type="boolean">
     4821      <desc>
     4822        When set to @a true, the builtin I/O cache of the virtual machine
     4823        will be enabled.
     4824      </desc>
     4825    </attribute>
     4826
     4827    <attribute name="ioCacheSize" type="unsigned long">
     4828      <desc>
     4829        Maximum size of the I/O cache in MB.
     4830      </desc>
     4831    </attribute>
     4832
     4833    <attribute name="ioBandwidthMax" type="unsigned long">
     4834      <desc>
     4835        The maximum number of MB the VM is allowed to transfer per second.
     4836        0 means unlimited bandwidth.
     4837      </desc>
     4838    </attribute>
     4839
    47734840    <method name="setBootOrder">
    47744841      <desc>
Note: See TracChangeset for help on using the changeset viewer.

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