<pre>
...
<devices>
- <hostdev mode='subsystem' type='pci'>
+ <hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address bus='0x06' slot='0x02' function='0x0'/>
</source>
<dl>
<dt><code>hostdev</code></dt>
<dd>The <code>hostdev</code> element is the main container for describing
- host devices. For usb device passthrough <code>mode</code> is always
- "subsystem" and <code>type</code> is "usb" for an USB device and "pci"
- for a PCI device..
+ host devices. For usb device passthrough <code>mode</code> is always
+ "subsystem" and <code>type</code> is "usb" for a USB device and "pci"
+ for a PCI device. When <code>managed</code> is "yes" for a PIC
+ device, it is detached from the host before being passed on to
+ the guest.</dd>
<dt><code>source</code></dt>
<dd>The source element describes the device as seen from the host.
The USB device can either be addressed by vendor / product id using the
<value>capabilities</value>
</choice>
</attribute>
- <attribute name="type">
- <choice>
- <value>usb</value>
- <value>pci</value>
- </choice>
- </attribute>
+ </optional>
+ <attribute name="type">
+ <choice>
+ <value>usb</value>
+ <value>pci</value>
+ </choice>
+ </attribute>
+ <optional>
<attribute name="managed">
<choice>
<value>yes</value>