Jump to content

Virt-Manager USB passthrough permissions getting denied

Trying to run a virtual machine and I get the error

 

Unable to complete install: 'internal error: qemu unexpectedly closed the monitor: libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/008/008: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
2017-12-03T22:08:06.549069Z qemu-system-x86_64: -device usb-host,hostbus=8,hostaddr=8,id=hostdev2,bus=usb.0,port=1: failed to open host usb device 8:8'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 2545, in _do_async_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 497, in start_install
    doboot, transient)
  File "/usr/share/virt-manager/virtinst/guest.py", line 433, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3658, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: internal error: qemu unexpectedly closed the monitor: libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/008/008: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
2017-12-03T22:08:06.549069Z qemu-system-x86_64: -device usb-host,hostbus=8,hostaddr=8,id=hostdev2,bus=usb.0,port=1: failed to open host usb device 8:8

 

 

 

Was not getting this error prior when making a virtual machine the exact same way

Link to comment
Share on other sites

Link to post
Share on other sites

What kind of distro are you using?

if (c->x86_vendor != X86_VENDOR_AMD)

setup_force_cpu_bug(X86_BUG_CPU_INSECURE);

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×