Bug 823541
Summary: | Test case failure: USB client filter - Block device from cmd: filter doesn't pass any device, not just filtered one | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | David Jaša <djasa> |
Component: | spice-gtk | Assignee: | Christophe Fergeau <cfergeau> |
Status: | CLOSED NOTABUG | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | acathrow, cfergeau, dblechte, dyasny, hdegoede, marcandre.lureau, syeghiay |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-30 12:58:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Jaša
2012-05-21 13:41:18 UTC
the --debug --spice-debug output isn't much informative. When the device is plugged & subsequently filtered, the output says: ($0:$PID): GSpice-DEBUG: usb-device-manager.c595:device added $ID where IDs are: 0x84c7b90 0x8670408 0x84c7b90 one of them is smartcard reader, one is USB multifunction printer, one is mass storage. Only mas storage should be filtered. Hans, could you look at it? This is expected behavior, the default behavior for the filter is to deny redirecting anything not specificaly allowed. IOW if there are no matches in the provided filter the result is deny / 0. What you want is a filter string of: "8,-1,-1,-1,0|-1,-1,-1,-1,1" (In reply to comment #4) > This is expected behavior, the default behavior for the filter is to deny > redirecting anything not specificaly allowed. IOW if there are no matches in > the provided filter the result is deny / 0. What you want is a filter string > of: "8,-1,-1,-1,0|-1,-1,-1,-1,1" Confirmed, I'll update the test cases to reflect that. Thanks for response. |