Description of problem:
When trying to redirect USB ports from host (Mageia 6) to guest (Mageia Caudron) a message indicating that port forwarding has failed is displayed by Boxes and nothing happen. Messages in the terminal are not useful :
(gnome-boxes:7246): Boxes-WARNING **: libvirt-broker.vala:66: Failed to update domain 'mageia-unkno': Failed to set domain configuration: XML error: there is no hub at port 1 in USB address bus: 0 port: 1.1
(gnome-boxes:7246): GSpice-CRITICAL **: cursor_handle_set: assertion 'c->init_done == TRUE' failed
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In Mageia 6 host, open Mageia Cauldron Guest in gnome-boxes
2. Open the properties panel
3. Try to forward any of your USB port
Created attachment 10266 [details]
Boxes internal log
This is my Boxes log.
There's a newer version of gnome-boxes in Cauldron:
Try to rebuild the src.rpm and see if we have a possible fix.
That's likely b/c gnome-boxes wasn't linked against libusb, which I fixed in Cauldron:
Nope, it looks like mga6 build does be linked with libusb even if not directly BR-ed
I'm not a specialist of building src.rpm packages but I try to rebuild Cauldron Boxes package. However it seems that some packages are required by gnome-boxes in Cauldron but not exist in Mageia 6.
libosinfo-vala doesn't exist in Mageia 6. It requires osinfo-db which itself not exists in Mageia 6. And osinfo-db requires osinfo-dbtools which doesn't exist in Mageia 6. I build osinfo-db-tools-1.2.0-1 from Cauldron in Mageia 6 but it takes me some times to rebuild all necessary packages.
I try to rebuild the src.rpm from Cauldron. Unfortunately gtk+-3.0 version is too old on Mageia 6. It is 3.22.16 and gnome-boxes 3.28 and newer needs at least version 3.22.20.
This bug is still present in Mageia 7 and gnome-boxes-3.32.1-1.
I have tried to delete gnome-boxes and reinstall it but my USB ports cannot be connected to my VM. Same thing happen with a Fedora 30 Workstation guest.
I join the troubleshooting log of the Mageia-7 VM.
Created attachment 11282 [details]
Troubleshooting Log of Mageia 7 guest