PCI Passthrough Error | QEMU/KVM

Have you read the linked wiki page on how to apply changes to grub once you have edited the config file?
https://wiki.archlinux.org/title/Kernel_parameters#GRUB

Edit /etc/default/grub and append your kernel options between the quotes in the GRUB_CMDLINE_LINUX_DEFAULT line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
And then automatically re-generate the grub.cfg file with:
# grub-mkconfig -o /boot/grub/grub.cfg

I’ve resolved the grub files mix-up, and have read a bit of this guide, but I’m confused as to my Intel equivalent of the Kernel Driver Overrides | VFIO section.

Edit: Ran through the entire guide, still faced with the same error.

1 Like

Thanks, my only obstacle now is to find out which device to use for my QEMU bridge. How do I find this?

These are only for GPU drivers, not for the CPU.

With VFIO, we need to stop AMDGPU or Nvidia from loading and attaching to a GPU, because it’s very difficult to detach them.

With something like a USB controller, it’s easy, QEMU just issues an unbind command.

Which bridge are you talking about?

In QEMU, it asks me for a bridge device, which I am supposed to provide as stated in your guide. The problem is, I don’t have a bridge device, nor any clue as to how to create one.

network bridge, probably.

Are you building this in libvirt or straight command line?

If libvirt, it should have set one up automatically. If not, you’ll need to create a network bridge, this should help:

I’m building in libvirt, though when executing

sudo virsh net-list --all

from the provided guide, this spits out in the terminal:

error: failed to connect to the hypervisor
error: Operation not supported: Cannot use direct socket mode if no URI is set