[Spice-devel] 答复: The second client cannot redirect USB

韩雪峰 hanxuefeng at 360.cn
Mon Nov 21 08:44:49 UTC 2022


Hi,
Thanks for your reply. But If I want to support multiple channels for USB redirection when multiple clients connect to a same VM,  do you know which project includes the code about USB channels ?   Spice ? or QEMU?

Thanks and Regards,
Xuefeng

发件人: Frediano Ziglio <freddy77 at gmail.com>
发送时间: 2022年11月18日 20:52
收件人: 韩雪峰 <hanxuefeng at 360.cn>
抄送: spice-devel at lists.freedesktop.org
主题: Re: [Spice-devel] The second client cannot redirect USB

Il giorno ven 18 nov 2022 alle ore 10:21 韩雪峰 <hanxuefeng at 360.cn<mailto:hanxuefeng at 360.cn>> ha scritto:
Hello,

   When I used two client to connect to a same one VM by spice with setting “SPICE_DEBUG_ALLOW_MC=1”, the two clients worked, and the first client could redirect USB. However, the second client could not redirect USB device, It shows like the picture:
[cid:image001.png at 01D8FDC6.C4D82080]

I’m sure that there’re enough channels for USB redirection.

Is this a problem? Or Is there any way that could resolve the second client’s USB redirection problem?

Thanks and Regards,

Xuefeng

Currently all character device channels (including USB one) do not support multiple channels, so the first client takes them all.

Frediano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20221121/5b1eebcc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 29613 bytes
Desc: image001.png
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20221121/5b1eebcc/attachment-0001.png>


More information about the Spice-devel mailing list