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.
Descriptionhyao@redhat.com
2013-09-06 03:02:15 UTC
Description of problem:
Can't redirect tcp type USB device
Version-Release number of selected component (if applicable):
# rpm -qa libvirt virt-manager usbredir
usbredir-0.6-3.el7.x86_64
virt-manager-0.10.0-3.el7.noarch
libvirt-1.1.1-3.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Plug in a usb device on host with usbredir packages installed.
# lsusb
Bus 006 Device 003: ID 15e1:2007 RSA RSA SecurID (R) Authenticator
# usbredirserver -p 4000 15e1:2007
2. Configure the guest with Redirected USB Device in virt-manager,
Add Hardware-> USB Redirection-> type: tcp, Address:&IP_of_HostA.4000
andUSB Controller, Type: USB, Model: USB2.
3. On host A
# usbredirserver -p 4000 15e1:2007
usbredirparser: Peer version: qemu usb-redir guest 1.5.2, using 64-bits ids
4. Check the usb device in rhel guest with lsusb.
# ps -aux | grep qemu
qemu 2731 29.2 8.2 1676076 647532 ? Sl 18:52 1:23 /usr/libexec/qemu-kvm -name T2 ... -chardev socket,id=charredir0,host=10.66.7.144,port=4000 -device usb-redir,chardev=charredir0,id=redir0
Check the usb device in Windows guest in my computer.
#ps -aux | grep qemu
qemu 5056 33.2 13.7 1513628 1077500 ? Sl 19:26 0:31 /usr/libexec/qemu-kvm -name xp -S -machine ... -chardev socket,id=charredir0,host=10.66.7.144,port=4000 -device usb-redir,chardev=charredir0,id=redir0
Actual results:
Steps4, The USB device is not redirected into the rhel guest and can get the usb info by lsusb.
The USB device is not shown in my computer of the windows guest. But from the qemu line I can see the info.
Expected results:
Steps4, The USB device is redirected into the guest and the usb device is available to use.
Verified the bug with following packages:
spice-gtk-0.20-6.el7.x86_64
libvirt-1.1.1-6.el7.x86_64
virt-manager-0.10.0-3.el7.noarch
usbredir-0.6-5.el7.x86_64
Redirecting USB flash disk with "USB Redirection" Type "tcp type" in virt-manager works well.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Description of problem: Can't redirect tcp type USB device Version-Release number of selected component (if applicable): # rpm -qa libvirt virt-manager usbredir usbredir-0.6-3.el7.x86_64 virt-manager-0.10.0-3.el7.noarch libvirt-1.1.1-3.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Plug in a usb device on host with usbredir packages installed. # lsusb Bus 006 Device 003: ID 15e1:2007 RSA RSA SecurID (R) Authenticator # usbredirserver -p 4000 15e1:2007 2. Configure the guest with Redirected USB Device in virt-manager, Add Hardware-> USB Redirection-> type: tcp, Address:&IP_of_HostA.4000 andUSB Controller, Type: USB, Model: USB2. 3. On host A # usbredirserver -p 4000 15e1:2007 usbredirparser: Peer version: qemu usb-redir guest 1.5.2, using 64-bits ids 4. Check the usb device in rhel guest with lsusb. # ps -aux | grep qemu qemu 2731 29.2 8.2 1676076 647532 ? Sl 18:52 1:23 /usr/libexec/qemu-kvm -name T2 ... -chardev socket,id=charredir0,host=10.66.7.144,port=4000 -device usb-redir,chardev=charredir0,id=redir0 Check the usb device in Windows guest in my computer. #ps -aux | grep qemu qemu 5056 33.2 13.7 1513628 1077500 ? Sl 19:26 0:31 /usr/libexec/qemu-kvm -name xp -S -machine ... -chardev socket,id=charredir0,host=10.66.7.144,port=4000 -device usb-redir,chardev=charredir0,id=redir0 Actual results: Steps4, The USB device is not redirected into the rhel guest and can get the usb info by lsusb. The USB device is not shown in my computer of the windows guest. But from the qemu line I can see the info. Expected results: Steps4, The USB device is redirected into the guest and the usb device is available to use.