I have a Mac virtual machine installed using QEMU/KVM and I can't redirect my phone to the virtual OS.
It keeps saying:spice-client-error-quark: Could not redirect ... at 1-13: Device is in use by another application (0)
After some googling, I tried sudo fuser /dev/bus/usb/001/013
to find out which processes were accesing that USB device. I then killed the two pids that showed up in the dock.
I traced one of those pids to be gvsfd-gphoto2
. So I killed every gvsf/d related processes. Both icons that were previously on my dock because of my phone being connected were gone.
When I try to redirect the USB device using the "Virtual Machine" menu in Virt-Manager, this time it shows no error, but it just wont redirect and my phone gets assigned a new number. Its like it was disconnected and then connected again.
How can I fix this?