Skip to content

Enable IOMMU, SR-IOV, VT-d, AMD-Vi

Add intel_iommu=on or amd_iommu=on to grub

load following in /etc/modules vfio vfio_iommu_type1 vfio_pci

After changing anything modules related, you need to refresh your initramfs. On Proxmox VE this can be done by executing:

update-initramfs -u -k all

To check if the modules are being loaded, the output of

lsmod | grep vfio

set vm type to q35

No ballooning -- doesn't work well with IOMMU -

The content provided is generated with the help of artificial intelligence (AI) and may contain inaccuracies or outdated information due to the limitations of AI. While I strive to review and validate the content, some errors or inaccuracies may still be present in the final output. Please use this content as a general guide only and verify any critical information through reputable sources before relying on it. I appreciate your understanding and feedback in helping us improve the accuracy and quality of our AI-generated content."