Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1144043 - after plug/redirection of usb device, virt-viewer freezes for several seconds before the device gets redirected
after plug/redirection of usb device, virt-viewer freezes for several seconds...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: spice-usbdk-win (Show other bugs)
3.6.0
Unspecified Unspecified
unspecified Severity medium
: ovirt-3.6.2
: 3.6.2
Assigned To: Dmitry Fleytman
SPICE QE bug list
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-18 09:55 EDT by David Jaša
Modified: 2016-03-09 15:09 EST (History)
10 users (show)

See Also:
Fixed In Version: mingw-spice-gtk-0.26-10.el7ev mingw-virt-viewer-2.0-8.el7ev rhevm-spice-client-3.6-6
Doc Type: Bug Fix
Doc Text:
Redirecting or releasing a USB device can take 3-5 seconds in some cases, and since this was performed synchronously in spice-gtk, it caused virt-viewer to freeze for several seconds. In this release, these operations have been made asynchronous on the spice-gtk level, and users will no longer experience virt-viewer freezing when redirecting or releasing a USB device.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-09 15:09:11 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Spice
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0377 normal SHIPPED_LIVE rhevm-spice-client bug fix and enhancement update 2016-03-09 19:39:05 EST

  None (edit)
Description David Jaša 2014-09-18 09:55:50 EDT
Description of problem:
after plug/redirection of usb device, virt-viewer freezes for several seconds before the device gets redirected

Version-Release number of selected component (if applicable):
spice-usbdk-win v0.02-1
client systems: xp, 7 32b, 7 64b

How reproducible:
frequent

Steps to Reproduce:
1. connect to some guest with usbdk-enabled client
2. plug in a device (to trigger auto-redirection), check a device in "USB device selection"

Actual results:
before the device is successfully redirected, virt-viewer/spice-gtk freezes for several seconds

Expected results:
1. the time to redirect the device should be comparable to winusb/usbclerk - a fraction of second
2. the device redirection should be asynchronous

Additional info:
Comment 1 pgurvich@redhat.com 2014-09-28 08:32:17 EDT
In winusb back-end the redirection process is asynchronous one, so the GUI is doesn't wait for a finishing of the process.

In UsbDk, the process is synchronous and therefore the GUI freezes until end of redirecting.

The problem should be solved in GUI.
Comment 2 Dmitry Fleytman 2014-09-29 07:59:46 EDT
Fix pending rebase of current spice-gtk patches to master.
Comment 4 David Jaša 2015-08-28 10:32:02 EDT
Seems fixed in current builds
Comment 5 Sandro Bonazzola 2015-10-26 08:43:09 EDT
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high
Comment 6 Dmitry Fleytman 2015-11-25 02:22:18 EST
Fixed by patch series:

UsbDk backend for spice-gtk:
http://lists.freedesktop.org/archives/spice-devel/2015-October/022851.html

Making start/stop redirection asynchronous:
http://lists.freedesktop.org/archives/spice-devel/2015-October/022873.html
Comment 7 Yaniv Lavi 2015-12-22 11:14:46 EST
What is the status of this bug?
Comment 12 Dayle Parker 2016-02-29 19:41:01 EST
If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format:

 Cause:
 Consequence:
 Fix:
 Result:
Comment 14 errata-xmlrpc 2016-03-09 15:09:11 EST
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.

https://rhn.redhat.com/errata/RHEA-2016-0377.html

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