VFs need /sys/module/vfio/parameters/enable_unsafe_noiommu_mode to be
enabled on the host. Add this to Ansible.
Change-Id: Iee1d0ccfdb4ea9b9d6981d39490fe7feb33bf70c
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
- "Update GRUB"
tags:
- set-grub
- "Update GRUB"
tags:
- set-grub
+
+- name: Configure unsafe noiommu
+ lineinfile:
+ path: "/etc/modprobe.d/vfio-noiommu.conf"
+ state: "present"
+ line: "options vfio enable_unsafe_noiommu_mode=1"
+ create: "yes"
+ tags:
+ - configure-unsafe-noiommu