Bug 982070
Summary: | have no rejected warning when do usb-redir sanity testing - filter | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> |
Component: | qemu-kvm | Assignee: | Hans de Goede <hdegoede> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, chayang, hhuang, juzhang, kraxel, michen, qzhang, qzhou, rhod, shu, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-12 10:10:52 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
Sibiao Luo
2013-07-08 05:01:19 UTC
Hi Sibiao, When you tried with the ehci controller, did you use the same qemu version on the host as when trying with the xhci controller? qemu in RHEL-7 will forward the filter you passed to remote-viewer, and remote-viewer then will not even attempt to redirect the device, this is why you're not seeing the filter rejection message. To verify this is happening, in remote-viewer go to file -> USB device selection. The USB stick should be there, but it will be greyed out. Conclusion: qemu will not show the rejection message, because the device was never redirected at all, since remote-viewer will not (auto)-redirect the device, as it knows about the filter. Regards, Hans (In reply to Hans de Goede from comment #1) > Hi Sibiao, > > When you tried with the ehci controller, did you use the same qemu version > on the host as when trying with the xhci controller? > > qemu in RHEL-7 will forward the filter you passed to remote-viewer, and > remote-viewer then will not even > attempt to redirect the device, this is why you're not seeing the filter > rejection message. > > To verify this is happening, in remote-viewer go to file -> USB device > selection. The USB stick should be there, but it will be greyed out. > > Conclusion: qemu will not show the rejection message, because the device was > never redirected at all, > since remote-viewer will not (auto)-redirect the device, as it knows about > the filter. > Yes, we should select the USB device in remote-viewer. thanks for your kindly reminds. (qemu) c usbredirparser: Peer version: spice-gtk 0.20, using 64-bits ids (qemu) qemu-kvm: usb-redir: attaching super speed device 1516:6221 version 1.0 class 00 qemu-kvm: usb-redir warning: Device 1516:6221 rejected by device filter, not attaching And the remote-viewer also will give a prompt "USB redirection error: CompUSA Device [1516:6221] at 4-2 rejected by host". Best Regards, sluo |