Bug 1969660 - error when redirecting usb in virt-manager
Summary: error when redirecting usb in virt-manager
Keywords:
Status: CLOSED DUPLICATE of bug 1950258
Alias: None
Product: Fedora
Classification: Fedora
Component: spice-gtk
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Marc-Andre Lureau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-08 21:02 UTC by Cenk Kulacoglu
Modified: 2021-06-08 23:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-08 23:00:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Cenk Kulacoglu 2021-06-08 21:02:22 UTC
Description of problem:
error when redirecting usb in virt-manager

Version-Release number of selected component (if applicable):
spice-gtk3-0.39-1

How reproducible:
When trying to redirect a USB device to a running vm in virt-manager, redirection cannot be done and fails with spice-client-error-quark usb redirection failed.

Steps to Reproduce:
1. Open virt-manager
2. Run a VM
3. Try redirecting a usb device to vm

Actual results:
Redirection fails

Expected results:
Redirection successful

Additional info:
According to https://forum.manjaro.org/t/solved-cannot-redirect-usb-devices-after-moving-vms-to-different-path/50363 and https://bugs.archlinux.org/task/69428 there is an issue with spice-gtk3-0.39-1 and this has been resolved with spice-gtk3-0.39-2. A possible workaround is to downgrade spice-gtk3-0.39-1 to spice-gtk3-0.38-3. I have tested and the downgrade has solved my problem and I can successfully redirect usb devices to a running vm. So it looks like a regression

Unfortunately according to https://rpmfind.net/linux/rpm2html/search.php?query=spice-gtk3 spice-gtk3-0.39-2 is available for Fedora 34 but not for Fedora 33.

Can we make spice-gtk3-0.39-2 available for Fedora 33?

Comment 1 Victor Toso 2021-06-08 23:00:20 UTC
This is unlikely to be in spice-gtk. There was a bug in usbredir 0.9.0 that was fixed in 0.10.0.
I just checked that usbredir 0.10.0 reached stable in F34 but was still on testing in F33, I just pushed it to stable [0].

I'll be closing this as duplicate of bug 1950258 - Feel free to reopen if updating to 0.10.0 does not solve your problem.

[0] https://bodhi.fedoraproject.org/updates/FEDORA-2021-24dd0fa996

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


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