Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1186144

Summary: hmp will print "usb-redir warning" all the time when close the remote-viewer
Product: Red Hat Enterprise Linux 7 Reporter: Jun Li <juli>
Component: usbredirAssignee: Hans de Goede <hdegoede>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.1CC: djasa, hhuang, juzhang, michen, qzhang, rbalakri, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1186146 (view as bug list) Environment:
Last Closed: 2015-03-20 15:50:48 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:
Bug Depends On:    
Bug Blocks: 1186146    

Description Jun Li 2015-01-27 07:55:31 UTC
Description of problem:
Boot qemu with usb-redir and "incoming tcp::5800,server,nowait", then use  remote-viewer to connect it, and then close the remote-viewer connection.

Version-Release number of selected component (if applicable):
qemu-kvm-1.5.3-86.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.boot qemu with following cli.
# /usr/libexec/qemu-kvm -device ich9-usb-ehci1 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -monitor  stdio -spice port=5910,disable-ticketing -incoming tcp::5800,server,nowait
2.use remote-viewer to connect it.
$ remote-viewer spice://$IP:5910
3.close the connection and check the output of the hmp.

Actual results:
After step 3, hmp will print following info in hmp all the time.
qemu-kvm: usb-redir warning: chardev_can_read called on non open chardev!

qemu-kvm: usb-redir warning: chardev_can_read called on non open chardev!

qemu-kvm: usb-redir warning: chardev_can_read called on non open chardev!

qemu-kvm: usb-redir warning: chardev_can_read called on non open chardev!

qemu-kvm: usb-redir warning: chardev_can_read called on non open chardev!
...

Expected results:
stop above print.

Additional info:

Comment 4 David Jaša 2015-03-20 15:50:48 UTC
Closing, this bug is reported against usbredir and when the other bug got reassigned to usbredir by qemu maintainer, Hans, the usbredir maintainer indicated that the bug is in spice-server.

*** This bug has been marked as a duplicate of bug 1186146 ***