blob: 4c4743fee91c2275fd5e0d04a6b7b46b1292935e [file] [log] [blame]
{%- from "linux/map.jinja" import system with context %}
include:
- linux.system.iommu
/etc/modprobe.d/sriov.conf:
file.managed:
- contents: |
blacklist ixgbevf
blacklist igbvf
blacklist i40evf
{%- if system.kernel.get('unsafe_interrupts', false) %}
/etc/modprobe.d/iommu_unsafe_interrupts.conf:
file.managed:
- contents: options vfio_iommu_type1 allow_unsafe_interrupts=1
{%- endif %}