[libvirt] libvirt xml can't specify USB physical port when passthrough USB device to VM

Wangrui (K) moon.wangrui at huawei.com
Wed Mar 5 09:04:37 UTC 2014


Hello,

I passthrough a host usb device to a guest  with a bus number and device number in the xml to identify the usb device.
When I unplug and then plug back into the same USB physical port, the guest identifies the usb device failed. Because on the host ,the usb device number increases.
So , I want to know that whether Libvirt will provide an interface that identifies a host usb device with bus number and physical port .
As far as I know ,Qemu upstream had added a hostport property which allows to specify the host usb with bus number and physical port.
the patch is :
https://lists.gnu.org/archive/html/qemu-devel/2011-05/msg02341.html

Best Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140305/43c3bf9e/attachment-0001.htm>


More information about the libvir-list mailing list