QaidVoid / Complete-Single-GPU-Passthrough

Single GPU VFIO Passthrough Guide
785 stars 38 forks source link

pci backend driver 'default' is not supported when opening kvm #14

Closed not-nullptr closed 2 years ago

not-nullptr commented 2 years ago

hey! so i followed the tutorial and it all went smoothly until booting the machine. the screen goes black until i am booted back to the login screen. iommu is enabled in bios, i already edited GRUB_CMDLINE_LINUX_DEFAULT (amd) and no, i didn't forget to generate grub.cfg. however, dmesg | grep 'IOMMU enabled' returns nothing?? running systemctl status libvirtd reported the following (truncated for reasons that are irrelevant + i replaced all instances of my username with {USERNAME})


     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled)
     Active: inactive (dead) since Tue 2022-07-19 14:33:42 BST; 1min 13s ago
   Duration: 2min 2.981s
TriggeredBy: ● libvirtd.socket
             ● libvirtd-ro.socket
             ● libvirtd-admin.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
    Process: 4241 ExecStart=/usr/bin/libvirtd $LIBVIRTD_ARGS (code=exited, status=0/SUCCESS)
   Main PID: 4241 (code=exited, status=0/SUCCESS)
        CPU: 507ms

Jul 19 14:31:39 {USERNAME}-linux systemd[1]: Starting Virtualization daemon...
Jul 19 14:31:40 {USERNAME}-linux systemd[1]: Started Virtualization daemon.
Jul 19 14:31:42 {USERNAME}-linux libvirtd[4241]: libvirt version: 8.5.0
Jul 19 14:31:42 {USERNAME}-linux libvirtd[4241]: hostname: {USERNAME}-linux
Jul 19 14:31:42 {USERNAME}-linux libvirtd[4241]: End of file while reading data: Input/output error
Jul 19 14:31:42 {USERNAME}-linux libvirtd[4241]: unsupported configuration: pci backend driver 'default' is not supported
Jul 19 14:31:42 {USERNAME}-linux libvirtd[4241]: Failed to allocate PCI device list: unsupported configuration: pci backend driver 'default' is not supported
Jul 19 14:33:42 {USERNAME}-linux systemd[1]: libvirtd.service: Deactivated successfully.```
not-nullptr commented 2 years ago

as it turns out, my vbios rom is only 50kb. i think that MAY explain it, just a little sneaking suspicion (im joking)