SPICE USB redirection not working in VMs via virt-manager flatpak

Hey, gang. I can't get USB devices to redirect to VMs anymore via SPICE. I didn't used to have this issue in the old, layered virtualization setup from months ago, but I recently did an rpm-ostree reset and redid the ujust setup-virtualization after reading that there was a new implementation. I selected both Enable Virtualization and Add $USER to libvirt group, then rebooted of course. For the virt-manager flatpak install, I selected the system option, not user. I can create and run VMs with the root QEMU/KVM session, but I get the error message in the attached picture when redirecting any USB devices that used to redirect fine. I can manually add some devices as virtual hardware, but not all work this way. Does this have something to do with the virt-manager now being a flatpak? I also noticed that I can no longer connect to the QEMU/KVM User session anymore either.
No description
Solution:
upstream issue in the flatpak works if you use virsh directly from cli...
Jump to solution
3 Replies
Solution
HikariKnight
HikariKnight4w ago
upstream issue in the flatpak works if you use virsh directly from cli
HikariKnight
HikariKnight4w ago
think you can also use ujust setup-virtualization and there is a workaround there i believe which is fairly new, might be that it is only currently in testing branch though
Spook013
Spook013OP4w ago
Thanks for the reply. In the meantime, I ended up just finding Linux alternatives to the couple of Windows programs I relied on to configure some USB peripherals that I'd redirect into a VM. Previously, I had issues with the Piper flatpak for my Logitech G502 mouse not running for a while because of some dependency issue, but that's now been resolved. Also found the cameractrls flatpak to change most/enough of my Anker camera's settings as well. Still can't update specifically the bluetooth firmware on a Gulikit controller because they package it as a .exe only for some reason, but it's not the end of the world. I can try harder with Wine or just use a friend's Windows PC.

Did you find this page helpful?