I can't redirect USB storage media to the KVM guest using VMM after system update.

I try to make it a habit of keeping up with the Tumbleweed updates every other week, but for some personal reasons (COVID) I had neglected updating the machine for a few months. The last update was thousands of items, and several gigabytes large. After the update, everything seems to be working fine except that I cannot seem to be redirecting USB storage media to the KVM host using VMM.

For machines running locally, I get no errors, but the guest machine either does not detect the USB storage media at all, or if it sees the device its directories cannot be traversed, and I am forced to disconnect the USB device as it slows the guest machine to a halt. For remote hosted VMs however I get the below error:



USB redirection error

spice-client-error-quark: usbredir protocol 
parse error for SanDisk Extreme 
[0781:5580] at 2-4 (0)

USB redirection error


The remote VMs are all hosted on a MicroOS machine and I have never had issues with them not accepting USB redirection. Prior to the backup I was redirecting USB devices on a daily basis with no issues. Also, the USB Storage device is working fine, and is being flawlessly detected when connected to the host, and other machines.

I did my due diligence in searching for workarounds and this was the closest I found to my issue, but the workaround which was suggested in one of the posts did not work for me.

I am stuck here and would appreciate some help.

Cheers.

Did you find a solution for this?
I have the same problem (but on Leap)…

So, I found the solution on this thread: https://forums.opensuse.org/showthread.php/557724-Gnome-Boxes-quot-Devices-And-Shares-quot/page2

Shortly: libvirtd must be enabled and started (it seems this service is not started automatically) + you have to add your user to the following groups: libvirt, qemu, and kvm

My problem was using KVM virtual machine under Ubuntu, USB devices cannot be transferred to the virtual machine through spice.

The following prompt appeared:
spice-client-error-quark: Could not redirect USB Device [046d:081b] at 3-2: Error setting USB device node ACL: ‘Not authorized’ (0)

Solution:

Modify rule file: /usr/share/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy

Add “allow_ Any” and modify “allow_ The inactive” is sufficient.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
          "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
          "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>


  <vendor>The Spice Project</vendor>
  <vendor_url>http://spice-space.org/</vendor_url>
  <icon_name>spice</icon_name>


  <action id="org.spice-space.lowlevelusbaccess">
    <description>Low level USB device access</description>
    <message>Privileges are required for low level USB device access (for usb device pass through).</message>
    <defaults>
      <allow_any>yes</allow_any>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>


</policyconfig>


VMware Backup oVirt Backup
More VMs backup & recovery solution, kind service and free trial