Fix for enable VFIO module on boot for SR-IOV deployments

In this change [1] I've loaded wrong module. It needs the
Type1 IOMMU driver for VFIO to be loaded on boot.

[1]: I3ffd1c11a1851e62992a6a63e8abb130db82856f

Change-Id: Iba7fa6c4edea4755afb91a97460ec3cc8e7ee234
Closes-Bug: 1838159
(cherry picked from commit 8e00cef6ff)
This commit is contained in:
Piotr Kopec 2019-08-16 11:26:12 +02:00
parent 9d0a312c3e
commit 29fdd20bb9
1 changed files with 2 additions and 2 deletions

View File

@ -31,12 +31,12 @@
- _KERNEL_ARGS_|default("") not in cmdline.stdout_lines[0]
# Kernel modules loading
- name: Load VFIO kernel module on boot
- name: Load type1 IOMMU driver for VFIO on boot
import_role:
name: tripleo-module-load
vars:
modules:
- name: vfio
- name: vfio_iommu_type1
when: _KERNEL_ARGS_ is search("iommu")
# Tune-d Configuration