VirtualBox

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


Ignore:
Timestamp:
Jul 24, 2013 3:13:52 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87523
Message:

Main/USB: USB Controller implementation rework. Moved filter handling into a separate interface

File:
1 edited

Legend:

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

    r47338 r47376  
    41274127  <interface
    41284128    name="IMachine" extends="$unknown"
    4129     uuid="f6258810-a760-11e2-9e96-0800200c9a66"
     4129    uuid="00daa773-1d35-40ae-ac06-336aa64959ef"
    41304130    wsmap="managed"
    41314131    >
     
    45354535    </attribute>
    45364536
     4537    <attribute name="USBDeviceFilters" type="IUSBDeviceFilters" readonly="yes">
     4538      <desc>
     4539        Associated USB device filters object.
     4540
     4541        <note>
     4542          If USB functionality is not available in the given edition of
     4543          VirtualBox, this method will set the result code to @c E_NOTIMPL.
     4544        </note>
     4545      </desc>
     4546    </attribute>
     4547
    45374548    <attribute name="audioAdapter" type="IAudioAdapter" readonly="yes">
    45384549      <desc>Associated audio adapter, always present.</desc>
     
    76147625        be returned if the host computer refuses to release it for some reason.
    76157626
    7616         <see><link to="IUSBController::deviceFilters"/>,
     7627        <see><link to="IUSBDeviceFilters::deviceFilters"/>,
    76177628          <link to="USBDeviceState"/></see>
    76187629        <result name="VBOX_E_INVALID_VM_STATE">
     
    76387649        a possible automatic re-attachment.
    76397650
    7640         <see><link to="IUSBController::deviceFilters"/>,
     7651        <see><link to="IUSBDeviceFilters::deviceFilters"/>,
    76417652          <link to="USBDeviceState"/></see>
    76427653
     
    82248235        Unless the device is ignored by these filters, filters of all
    82258236        currently running virtual machines
    8226         (<link to="IUSBController::deviceFilters"/>) are applied to it.
     8237        (<link to="IUSBDeviceFilters::deviceFilters"/>) are applied to it.
    82278238
    82288239        <note>
     
    1631116322
    1631216323  <!--
    16313   // IUSBController
     16324  // IUSBDeviceFilters
    1631416325  /////////////////////////////////////////////////////////////////////////
    1631516326  -->
    1631616327
    1631716328  <interface
    16318     name="IUSBController" extends="$unknown"
    16319     uuid="01e6f13a-0580-452f-a40f-74e32a5e4921"
     16329    name="IUSBDeviceFilters" extends="$unknown"
     16330    uuid="2ab550b2-53cc-4c2e-ae07-0adf4114e75c"
    1632016331    wsmap="managed"
    1632116332    >
    16322     <attribute name="enabled" type="boolean">
    16323       <desc>
    16324         Flag whether the USB controller is present in the
    16325         guest system. If disabled, the virtual guest hardware will
    16326         not contain any USB controller. Can only be changed when
    16327         the VM is powered off.
    16328       </desc>
    16329     </attribute>
    16330 
    16331     <attribute name="enabledEHCI" type="boolean">
    16332       <desc>
    16333         Flag whether the USB EHCI controller is present in the
    16334         guest system. If disabled, the virtual guest hardware will
    16335         not contain a USB EHCI controller. Can only be changed when
    16336         the VM is powered off.
    16337       </desc>
    16338     </attribute>
    16339 
    16340     <attribute name="proxyAvailable" type="boolean" readonly="yes">
    16341       <desc>
    16342         Flag whether there is an USB proxy available.
    16343       </desc>
    16344     </attribute>
    16345 
    16346     <attribute name="USBStandard" type="unsigned short" readonly="yes">
    16347       <desc>
    16348         USB standard version which the controller implements.
    16349         This is a BCD which means that the major version is in the
    16350         high byte and minor version is in the low byte.
    16351       </desc>
    16352     </attribute>
    1635316333
    1635416334    <attribute name="deviceFilters" type="IUSBDeviceFilter" readonly="yes" safearray="yes">
     
    1646416444      </param>
    1646516445    </method>
     16446
     16447  </interface>
     16448
     16449  <!--
     16450  // IUSBController
     16451  /////////////////////////////////////////////////////////////////////////
     16452  -->
     16453
     16454  <interface
     16455    name="IUSBController" extends="$unknown"
     16456    uuid="f12e6dda-2bad-40c4-8f2e-2d08fe8b74d4"
     16457    wsmap="managed"
     16458    >
     16459    <attribute name="enabled" type="boolean">
     16460      <desc>
     16461        Flag whether the USB controller is present in the
     16462        guest system. If disabled, the virtual guest hardware will
     16463        not contain any USB controller. Can only be changed when
     16464        the VM is powered off.
     16465      </desc>
     16466    </attribute>
     16467
     16468    <attribute name="enabledEHCI" type="boolean">
     16469      <desc>
     16470        Flag whether the USB EHCI controller is present in the
     16471        guest system. If disabled, the virtual guest hardware will
     16472        not contain a USB EHCI controller. Can only be changed when
     16473        the VM is powered off.
     16474      </desc>
     16475    </attribute>
     16476
     16477    <attribute name="proxyAvailable" type="boolean" readonly="yes">
     16478      <desc>
     16479        Flag whether there is an USB proxy available.
     16480      </desc>
     16481    </attribute>
     16482
     16483    <attribute name="USBStandard" type="unsigned short" readonly="yes">
     16484      <desc>
     16485        USB standard version which the controller implements.
     16486        This is a BCD which means that the major version is in the
     16487        high byte and minor version is in the low byte.
     16488      </desc>
     16489    </attribute>
    1646616490
    1646716491  </interface>
     
    1663216656      </note>
    1663316657
    16634       <see><link to="IUSBController::deviceFilters"/>,
     16658      <see><link to="IUSBDeviceFilters::deviceFilters"/>,
    1663516659        <link to="IHostUSBDeviceFilter"/></see>
    1663616660    </desc>
     
    1674716771      either ignore the device, or put it to USBDeviceState_Held state, or do
    1674816772      nothing. Unless the device is ignored by global filters, filters of all
    16749       currently running guests (<link to="IUSBController::deviceFilters"/>) are
     16773      currently running guests (<link to="IUSBDeviceFilters::deviceFilters"/>) are
    1675016774      activated that can put it to USBDeviceState_Captured state.
    1675116775
     
    1687816902        The <link to="IUSBDeviceFilter::remote"/> attribute is ignored by this type of
    1687916903        filters, because it makes sense only for
    16880         <link to="IUSBController::deviceFilters">machine USB filters</link>.
     16904        <link to="IUSBDeviceFilters::deviceFilters">machine USB filters</link>.
    1688116905      </note>
    1688216906
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