Bug 104256 - USB device can redirect to two vm host
Summary: USB device can redirect to two vm host
Status: RESOLVED MOVED
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-14 03:01 UTC by Yufeng Jiang
Modified: 2018-06-03 10:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Yufeng Jiang 2017-12-14 03:01:06 UTC
Following rpms are relating to usb redirection installed in my Centos7.3:

virt-viewer-5.0-7.el7.x86_64
spice-glib-0.33-6.ky3.x86_64
spice-vdagent-0.14.0-14.ky3.kb2.x86_64
spice-gtk3-0.33-6.ky3.x86_64
usbredir-0.7.1-2.ky3.x86_64
libusb-0.1.4-3.ky3.kb2.x86_64
libusbx-1.0.20-1.ky3.kb2.x86_64

This days, I'm working with usb redirection with virt-viewer. And A ukey device( a usb device, vid:1111, pid:2222) is used in my testing.
I lauch the virt-viewer with the argument: --spice-usbredir-redirect-on-connect="-1,0x1111,0x2222,-1,1", and I find that the ukey device can be redirected to two vm host(whatever it is, you can see the ukey device in the vm host system) if launch two virt-viewer threads. I try the other usb device(e.g. USB Mass Storage Device), it can be happend.

The lauch command is: /usr/bin/remote-viewer -t mcadmin1@Win7-32 --spice-smartcard --spice-usbredir-auto-redirect-filter=-1,-1,-1,-1,1 --spice-usbredir-redirect-on-connect="-1,0x1111,0x2222,-1,1" spice://192.168.130.110:5900
Comment 1 GitLab Migration User 2018-06-03 10:20:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/spice-gtk/issues/20.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.