[Spice-devel] [Xen-devel] [PATCH] libxl: Spice usbredirection support for upstream qemu

Fabio Fantoni fabio.fantoni at m2r.biz
Fri Jul 5 02:27:59 PDT 2013


Il 05/07/2013 11:02, Paolo Bonzini ha scritto:
>
> ----- Messaggio originale -----
>> Da: "Fabio Fantoni" <fabio.fantoni at m2r.biz>
>> A: "Paolo Bonzini" <pbonzini at redhat.com>
>> Cc: "Andreas Färber" <afaerber at suse.de>, "Stefano Stabellini" <stefano.stabellini at eu.citrix.com>,
>> xen-devel at lists.xensource.com, "Wei Liu" <wei.liu2 at citrix.com>, "Ian Campbell" <Ian.Campbell at citrix.com>, "Ian
>> Jackson" <Ian.Jackson at eu.citrix.com>, qemu-devel at nongnu.org, "Hans de Goede" <hdegoede at redhat.com>,
>> spice-devel at lists.freedesktop.org
>> Inviato: Venerdì, 5 luglio 2013 10:42:30
>> Oggetto: Re: [Xen-devel] [PATCH] libxl: Spice usbredirection support for upstream qemu
>>
>> Il 04/07/2013 22:09, Paolo Bonzini ha scritto:
>>> Il 04/07/2013 19:17, Andreas Färber ha scritto:
>>>> Also if at some point you try to use, e.g., q35 rather than i440fx
>>>> machine, it might have EHCI by default and the snippet would be
>>>> instantiating a duplicate one. I.e., the three levels of dependency
>>>> could be separated more clearly: PCI, USB, redirection.
>>> At least you could start specifying the USB desired version (1.1, 2.0
>>> with companion controllers, 3.0) as an extension of the "usb=1" that is
>>> already supported.
>>>
>>> Paolo
>> Thanks and sorry, I found only now that is working also with only
>> -device usb-ehci,id=usb.
>> I'll post a new patch version.
> With only the EHCI you might have problems redirecting USB 1.1 devices.
> The EHCI+UHCI magic is the right thing to do for USB 2.0 support on x86.
>
> What Andreas and I were suggesting was to split the patch in two parts:
> first adding support for USB 2.0/3.0, and only then adding redirection
> (perhaps with the possibility to customize how many redirected devices
> to support).
>
> Paolo
What is the best parameters for adding usb2 controller, those who had 
already done?

About usb1 controller implementation parameter in xen is only with -usb, 
is correct or need something better?

About usb3 controller implementation what is the best parameters?

About possibility to customize how many redirection channel I'll do it, 
if I remember good on Hans post on spice-devel I seen that max working 
is 4, is correct?

About different usb controller implementation on xen can be good change 
xl parameter usb from 0|1 (usb1 controller added or not) to 0|1|2|3 
where 0 is none, 1 is usb1, 2 is usb2 and 3 is usb3 or is better keep 
usb=0|1 and add usb_version=1|2|3 parameter?

Thanks for any reply and sorry for my bad english.


More information about the Spice-devel mailing list