[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V8 5/7] xl: add pvusb commands
>>> On 11/12/2015 at 10:42 PM, in message <20151112144211.GA5773@xxxxxxxxx>, >>> Olaf Hering <olaf@xxxxxxxxx> wrote: > On Wed, Oct 21, Chunyan Liu wrote: > > > Add pvusb commands: usbctrl-attach, usbctrl-detach, usb-list, > > usb-attach and usb-detach. > > How is this supposed to be handled in libvirt? It looks like libvirt has > to copy what is done here. If thats true the logic should be in libxlu > so that both xl and libvirt can call the same functions. For usbctrl-attach/detach, usb-attach/detach, libxl has API, like libxl_device_usbctrl_add/remove, libxl_device_usb_add/remove. That's could be used for libvirt usage. The user interface processing things are always do-by-itslef for xl and libvirt, what's libvirt needs to do is preparing the usbctrl/usb device structure and call libxl API to do the work. - Chunyan > > Olaf > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |