Hi folks
some Linux distros give you permission denied when trying to re-direct a USB device to a guest vm especialy if your kvm host system isn't using the monolithic legacy libvirtd service -- don't bother with convoluted solutions involving weird files in polkit which nobody has ever heard of etc.
Simply add yourself to groups kvm and qemu - then reboot. (you should already be a member of the libvirt group to run as a non root user).
Then in the VM after redirecting the usb device to a Windows guest use diskpart to list disk and you'll probably see its offline
simply in diskpart select disk <disk nr>, online disk,
Q.E.D
Cheers
jimbo
some Linux distros give you permission denied when trying to re-direct a USB device to a guest vm especialy if your kvm host system isn't using the monolithic legacy libvirtd service -- don't bother with convoluted solutions involving weird files in polkit which nobody has ever heard of etc.
Simply add yourself to groups kvm and qemu - then reboot. (you should already be a member of the libvirt group to run as a non root user).
Then in the VM after redirecting the usb device to a Windows guest use diskpart to list disk and you'll probably see its offline
simply in diskpart select disk <disk nr>, online disk,
Q.E.D
Cheers
jimbo
My Computer
System One
-
- OS
- Windows XP,7,10,11 Linux Arch Linux
- Computer type
- PC/Desktop
- CPU
- 2 X Intel i7