You are not logged in.
Hello everyone,
I would like to passthrough a usb controller as outlined in https://wiki.archlinux.org/title/PCI_pa … 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 https://wiki.archlinux.org/title/udev
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)
Offline