|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v7 RFC 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
On 06/18/2014 03:30 PM, Ian Campbell wrote: On Wed, 2014-06-18 at 14:58 +0100, George Dunlap wrote:On 06/18/2014 02:49 PM, Ian Campbell wrote: Ah, I see. Yes, that's right: <bus,addr> is sufficient to specify a single device. To qemu you can either specify <bus,addr> or <vendorid:productid>. Unfortunately both have their advantages and disavantages. <bus,addr> will specify a unique device, but exactly which device that is may change across reboots, so you have to check each time that you're still passing in your USB stick rather than your webcam. On the other hang, <vid,pid> will allow you to pass in a specific kind of device no matter where it's plugged in... as long as there's only one of them. If you have two webcams / usb devices of the same kind, you're out of luck, and you have to fall back to <bus,addr> again. I considered allowing the user to specify either one, just as you can with qemu. (That might mean having libxl do the <vid,pid> -> <bus,addr> resolution for PVUSB.) I'm open to opinions on that one. -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |