wildbus8979, (edited )

You should be good to go. Make sure vfio is loaded in the modules-load.d


<span style="color:#323232;">vfio
</span><span style="color:#323232;">vfio_iommu_type1
</span><span style="color:#323232;">vfio_pci
</span><span style="color:#323232;">vfio_virqfd
</span>

Make sure the module options are set correctly and the kernel module is blacklisted in /etc/modprobe.d/vfio.conf


<span style="color:#323232;">options vfio-pci ids=1000:0097
</span><span style="color:#323232;">blacklist MODULE_NAME
</span>

Make sure.IOMMU is enabled in your kernel command line (ex via grub): intel_iommu=on iommu=pt

This is probably not complete, but it should get you pretty far into allowing you to add the pci device in the hardware config of your vm

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • khanakhh
  • magazineikmin
  • osvaldo12
  • GTA5RPClips
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • rosin
  • kavyap
  • ethstaker
  • everett
  • thenastyranch
  • DreamBathrooms
  • megavids
  • InstantRegret
  • cubers
  • normalnudes
  • Leos
  • ngwrru68w68
  • cisconetworking
  • modclub
  • Durango
  • provamag3
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines