VirtualBox

Ignore:
Timestamp:
Oct 21, 2009 10:17:08 AM (15 years ago)
Author:
vboxsync
Message:

API: make necessary adjustments to support DVD passthrough again, together with the necessary client code changes. Unfortunately it is not possible to define the API in the ideal way due to how settings are handled in MachineImpl.cpp.

File:
1 edited

Legend:

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

    r23897 r23928  
    40604060  <interface
    40614061     name="IMachine" extends="$unknown"
    4062      uuid="d867a463-0f78-4ec7-a876-8da001464537"
     4062     uuid="db35f17a-179f-4332-91b2-a49d5cfb678c"
    40634063     wsmap="managed"
    40644064     >
     
    47514751    </method>
    47524752
     4753    <method name="passthroughDevice">
     4754      <desc>
     4755        Sets the passthrough mode of an existing DVD device. Changing the
     4756        setting while the VM is running is forbidden. The setting is only used
     4757        if at VM start the device is configured as a host DVD drive, in all
     4758        other cases it is ignored. The device must already exist; see
     4759        <link to="IMachine::attachDevice"/> for how to attach a new device.
     4760
     4761        The @a controllerPort and @a device parameters specify the device slot and
     4762        have have the same meaning as with <link to="IMachine::attachDevice" />.
     4763
     4764        <result name="E_INVALIDARG">
     4765          SATA device, SATA port, IDE port or IDE slot out of range.
     4766        </result>
     4767        <result name="VBOX_E_INVALID_OBJECT_STATE">
     4768          Attempt to modify an unregistered virtual machine.
     4769        </result>
     4770        <result name="VBOX_E_INVALID_VM_STATE">
     4771          Invalid machine state.
     4772        </result>
     4773
     4774      </desc>
     4775      <param name="name" type="wstring" dir="in">
     4776        <desc>Name of the storage controller.</desc>
     4777      </param>
     4778      <param name="controllerPort" type="long" dir="in">
     4779        <desc>Storage controller port.</desc>
     4780      </param>
     4781      <param name="device" type="long" dir="in">
     4782        <desc>Device slot in the given port.</desc>
     4783      </param>
     4784      <param name="passthrough" type="boolean" dir="in">
     4785        <desc>New value for the passthrough setting.</desc>
     4786      </param>
     4787    </method>
     4788
    47534789    <method name="mountMedium">
    47544790      <desc>
     
    83638399  <interface
    83648400    name="IMediumAttachment" extends="$unknown"
    8365     uuid="ff554585-560a-489d-963c-cf6da6a826de"
     8401    uuid="7bb6ac41-8c03-4863-9eea-d9c76561b8d1"
    83668402    wsmap="struct"
    83678403  >
     
    84008436    </attribute>
    84018437
    8402     <attribute name="passthrough" type="boolean" readonly="no">
     8438    <attribute name="passthrough" type="boolean" readonly="yes">
    84038439      <desc>Pass I/O requests through to a device on the host.</desc>
    84048440    </attribute>
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