[Bug 104256] New: USB device can redirect to two vm host

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 14 03:01:06 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=104256

            Bug ID: 104256
           Summary: USB device can redirect to two vm host
           Product: Spice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: spice-gtk
          Assignee: spice-bugs at lists.freedesktop.org
          Reporter: jyf3911306 at sina.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20171214/c794b66d/attachment.html>


More information about the spice-bugs mailing list