Red Hat Bugzilla – Bug 1031065
USB device is redirected to guest even is blocked by filter string
Last modified: 2016-10-04 00:02:50 EDT
Description of problem:
When USB mass storage device is connected to client, it's redirected into guest, even mass storage class is bocked by filter string.
This happens only when spice-xpi page is used.
Guest recognize USB mass storage media with proper class:
bInterfaceClass 8 Mass Storage
Qemu-kvm on host logs connected device:
attaching high speed device 0951:162d version 1.0 class 00
And device is redirected even filter log is used:
USB Filter String was set to: '"8,-1,-1,-1,0"'
If client is connected via command line:
remote-viewer spice://localhost?port=3334 --spice-usbredir-auto-redirect-filter="8,-1,-1,-1,0"
everything is fine and USB is not redirected.
Version-Release number of selected component (if applicable):
Always from spice xpi test page http://people.freedesktop.org/~teuf/test.html
Steps to Reproduce:
1.Go to spice xpi test page http://people.freedesktop.org/~teuf/test.html
2.Fill in host, port, usb listen port to 0, usb autoredirect, usb filter to "8,-1,-1,-1,0" (blocking USB class 8)
3.Connect to guest
4.Plug USB mass storage device into client
USB is redirected into guest
USB is not redirected into guest
Host: RHEL7 64
Client: RHEL7 64
Guest: Win7 64, RHEL7 64
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
It is working for me, does it work for you now?
if not, please run firefox from command line, with G_MESSAGES_DEBUG=all and SPICE_DEBUG=1 and provide full log. thanks
Closing, feel free to reopen with further details.
Removing needinfo on Spice QE members from closed bugs.