[libvirt] [PATCH/RFC]: hostdev passthrough support take #2

Guido Günther agx at sigxcpu.org
Sat Aug 2 23:41:28 UTC 2008


Hi,
attached is a second version. Changes are:

* s/bus/subsystem/
* support hexadecimal and decimal attributes
* introduce device and source elements. 

I decided to not drop vendor and product id into their own elements
since the structure would then become very nested for no good reason.
Some examples:

    <hostdev mode="subsys" type='usb'>
      <source>
        <device vendor="0x0204" product="0x6025"/>
      </source>
    </hostdev>

    <hostdev mode="subsys" type='usb'>
      <source>
        <address bus="001" device="003"/>
      </source>
    </hostdev>

Support for <target> will be coming once I got around to adjust
qemu/kvm.
Cheers,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-host-device-passthrough.patch
Type: text/x-diff
Size: 19210 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080803/e0e7a0ef/attachment-0001.bin>


More information about the libvir-list mailing list