[libvirt] [PATCH/RFC]: hostdev passthrough support

Guido Günther agx at sigxcpu.org
Fri Jul 25 20:17:30 UTC 2008


Hi,
attached is some basic support for host device passthrough. It enables
you to passthrough usb devices in qemu/kvm via:

<devices>
 <hostdev type='usb' vendor='0204' product='6025'/>
 <hostdev type='usb' bus='001' device='007'/>
</devices>

I didn't implement unplug yet since this needs some modifications to
qemu/kvm to be able to identify the correct device to unplug.
Does this look reasonable?
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-host-device-passthrough.patch
Type: text/x-diff
Size: 14246 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080725/7e01e070/attachment-0001.bin>


More information about the libvir-list mailing list