[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC V2 3/5] libxl: add pvusb API



On Fri, 2015-03-06 at 16:50 +0000, George Dunlap wrote:
> > +libxl_device_usb *
> > +libxl_device_usb_assignable_list(libxl_ctx *ctx, int *num)
> 
> I'm a bit ambivalent about this one.  For people using xl, "lsusb"
> should be just fine.  Is anyone building a toolstack on top of libxl
> directly going to need this functionality?  Would libvirt use this
> functionality, for instance, or would it use libusb?  Or just leave
> that to the caller?

Do USB devices not need to be bound to some sort of placeholder driver
(a la xen-pciback) or at least unbound from their actual driver before
they can be assigned to a guest?

If so then I would expect a function such as this to list the subset of
devices which have been correctly configured for USB passthrough, which
would be a subset of the output of lsusb I think.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.