Re: [Xen-devel] USB Passthrough in X86

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Xen-devel] USB Passthrough in X86

Roger Pau Monné-3
Moving to xen-users, this is not a development related question.

On Thu, Jul 20, 2017 at 02:04:52PM +0530, ajmalmalib4u wrote:
>    Hi,
>    I am trying to do USB passthrough in x86_64. I have Ubuntu as Dom0 and
>    DomU.

Which version of Xen are you using?

>    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

So this is a PV guest.

>    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.

So are you trying to do USB passthrough or PCI passthrough? Those are
completely different things, but you seem to mix them up.

You should also post your guest config file.

>    # 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?
>    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

The backed for PVUSB is in QEMU, not in the kernel.

Roger.

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users
Loading...