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

Re: [Xen-devel] USB Passthrough support X86_64



CC Juergen and George

On Thu, Jul 20, 2017 at 01:05:20PM +0530, Ajmal M Ali wrote:
> Hi,
> 
> I am trying to do USB passthrough in x86_64. I have Ubuntu as Dom0 and DomU.
> 
> 
> 
> *Dom0 : Linux teltvm0881 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26
> 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux*
> 
> *DomU : Linux xen-guest-pv 4.12.0-custom #4 SMP Tue Jul 11 17:14:53 IST
> 2017 x86_64 GNU/Linux*
> 
> 
> 
> I had earlier, rebuild the kernel from kernel.orgto add PCI passthrough
> support which was successful.
> 
> But when i try to do USB passthrough, as given in,
> 
> https://wiki.xenproject.org/wiki/Xen_USB_Passthrough
> 
> it dont work.ie.
> 
> 
> 
> *# xl usbctrl-attach xen-guest-pv version=1 ports=8*
> 
> *libxl: error: libxl_dm.c:2423:libxl__dm_check_start: device model required
> but not running*
> 
> *libxl: error: libxl.c:2012:device_addrm_aocomplete: unable to add device*
> 
> *libxl_device_usbctrl_add failed.*
> 
> 
> 
> Why is this?

USB passthrough requires the device model. There is currently no
provision in toolstack to spawn a device model on demand.

The easiest workaround is to add one device (vfb?) that would require
spawning a device model when creating the domain.

> 
> i am trying to hotplug my usb. I haveint made any changes in the config
> file, as i assumed it wont be needed for hotplug, also i didnt have to do
> it for pci passthrough. Should i?
> 
> Also, i cannot find any usbback and frond in my PC.
> 
> 
> 
> *# lsmod | grep pci*
> 
> *xen_pciback 61440 0*
> 
> *but,*
> 
> *# lsmod | grep usb*
> 
> 
> 
> back driver is not displayed. I tried to rebuild the kernel but I cannot
> find any configuration regarding usb in my kernel configuration.
> 
> Is the usb passthrough support merged with the latest stable kernel in
> kernel.org?
> 
> If yes, What all configuration should I enable in my config?
> 
> 
> 
> Regards,
> 
> Ajeesh

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


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

 


Rackspace

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