You are not logged in.

#1 2021-07-17 13:08:57

Registered: 2021-07-15
Posts: 2

USB Passthrough in Libvirt USER Session

Hello everyone,

I would like to passthrough a usb controller as outlined in … controller, but I am using libvirt in user session.

When I passthrough the PCI Host device for the usb controller, it gives me the error;

Error starting domain: Failed to add driver 'vfio-pci' to driver_override  interface of PCI device '0000:00:14.0': Permission denied

I tried using udev rules to set permissions following this guide

I added the following in /etc/rules.d/10-qemu.rules

KERNEL=="0000:00:14.0", SUBSYSTEM=="pci", OWNER=="root", GROUP=="kvm"

-I added my username to the kvm group-

I got those values after I ran this command;

udevadm info --attribute-walk --path=/sys/bus/pci/devices/0000\:00\:14.0/

This is as far as my knowledge in the subject can help me, and any help is greatly appreciated.

Thank you.

Last edited by soiewq1324 (2021-07-17 15:35:50)


Board footer

Powered by FluxBB