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
This commit is contained in:
Piotr Kopec 2019-08-16 11:26:12 +02:00
parent 438f07e2d7
commit 8e00cef6ff

View File

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