A guide on getting vfio passthrough working on Alpine Linux.
First we need to check for IOMMU by enabling VT-d
or AMD-Vi
and add equivalent kernel parameters in /boot/extlinux.conf
before nomodeset
depending on CPU:
Intel (VT-d) is intel_iommu=on
AMD (AMD-Vi) is amd_iommu=on