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 1099295 - fail to redirect USB to VM running on rhel7 with grayed 'USB device selection' button when redirect it from rhel6.5 with cirrus
Summary: fail to redirect USB to VM running on rhel7 with grayed 'USB device selection...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virt Viewer Maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-20 03:25 UTC by Sibiao Luo
Modified: 2014-10-14 06:31 UTC (History)
20 users (show)

Fixed In Version: virt-viewer-0.6.0-1.el6
Doc Type: Bug Fix
Doc Text:
Cause: In some cases, the USB channels are created after the display channel. Consequence: The USB menu will remain grayed out and the USB device can't be selected for redirection. Fix: Don't depend on channel creation order. Result: The USB menu won't be grayed out and the device can be selected for redirection.
Clone Of:
Environment:
Last Closed: 2014-10-14 06:31:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1379 0 normal SHIPPED_LIVE virt-viewer bug fix update 2014-10-14 01:05:43 UTC

Description Sibiao Luo 2014-05-20 03:25:17 UTC
Description of problem:
fail to do USB redirection to VM launching on rhel7 host with gray 'USB device selection' button in virt-viewer client when remote pass-through usb stick from rhel6.5 machine with cirrus vga specified in qemu-kvm cmdline.
BTW, 
1.If use the qxl vga cann't hit such issue which redirect the usb device successfully.
2.The opposite testing work, if redirect the usb stick from rhel7 machine to a VM running on a rhel6.5 host which works well.

Version-Release number of selected component (if applicable):
host(launch VM) info:
3.10.0-121.el7.x86_64
qemu-kvm-1.5.3-60.el7.x86_64
usbredir-0.6-7.el7.x86_64
usbredir-server-0.6-7.el7.x86_64
spice-server-0.12.4-5.el7.x86_64

usb-guest(VM) info:
rhel7 kerenl-3.10.0-121.el7.x86_64

usb-host(run virt-viewer client) info:
rhel6.5: kernel-2.6.32-448.el6.x86_64
virt-viewer-0.5.6-8.el6.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-gtk-0.20-11.el6.x86_64

usb device info:
USB 2.0 stick
Bus 002 Device 004: ID 0951:1642 Kingston Technology DT101 G2

How reproducible:
100%

Steps to Reproduce:
1.launch a rhel7 VM on rhel7 host with usb-redir and cirrus vga specified.
e.g:# /usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection...-spice disable-ticketing,port=5933 -vga cirrus -device usb-ehci,id=ehci0,bus=pci.0,addr=0x7 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci0.0,debug=3
2.insert the USB 2.0 stick to a rhel6.5 usb-host.
3.run the virt-viewer client on the rhel6.5 usb-host.
# remote-viewer spice://$rhel7_host_addr:$port
4.select the redirected USB stick device via "'File' menu
--- 'USB device selection'" in the virt-viewer client. 

Actual results:
after step 4, fail to select the redirected USB stick device via "'File' menu
--- 'USB device selection'", the 'USB device selection' button was grayed out. 

Expected results:
It should work well.

Additional info:

Comment 4 tingting zheng 2014-05-29 02:52:15 UTC
I can reproduce this bug with:
virt-viewer-0.5.6-10.el6.x86_64

Steps:
1.On rhel7 host,prepare a spice+cirrus rhel7 guest,configure usb redirection.
2.On rhel6 host,launch remote-viewer to connect rhel7 guest configured on step1.
# remote-viewer spice://$rhel7_host_addr:$port
3.select the redirected USB stick device via "File"->"USB device selection" in the virt-viewer client,the 'USB device selection' button was grayed out.

Comment 6 tingting zheng 2014-06-05 08:10:44 UTC
I can reproduce this bug with:
virt-viewer-0.5.6-10.el6.x86_64

Steps:
1.On rhel7 host,prepare a spice+cirrus rhel7 guest,configure usb redirection.
2.On rhel6 host,launch remote-viewer to connect rhel7 guest configured on step1.
# remote-viewer spice://$rhel7_host_addr:$port
3.select the redirected USB stick device via "File"->"USB device selection" in the virt-viewer client,the 'USB device selection' button was grayed out.

Tested with:
virt-viewer-0.6.0-4.el6.x86_64

On the above step 3,'USB device selection' button is enabled,usb disk can be redirected to guest through the button successfully.

Refer to the above comments,move the bug to VERIFIED.

Comment 7 errata-xmlrpc 2014-10-14 06:31:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1379.html


Note You need to log in before you can comment on or make changes to this bug.