Merge "Enable VFIO module on boot for SR-IOV deployments"

This commit is contained in:
Zuul 2019-07-30 18:44:47 +00:00 committed by Gerrit Code Review
commit bb0f7510af
2 changed files with 17 additions and 0 deletions

View File

@ -30,6 +30,15 @@
- _KERNEL_ARGS_|default("") != ""
- _KERNEL_ARGS_|default("") not in cmdline.stdout_lines[0]
# Kernel modules loading
- name: Load VFIO kernel module on boot
import_role:
name: tripleo-module-load
vars:
modules:
- name: vfio
when: _KERNEL_ARGS_ is search("iommu")
# Tune-d Configuration
- block:
- name: Check Tune-d Configuration file exists

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Enable VFIO module on boot for SR-IOV deployments.
Before this change on SR-IOV capable deployments
when rebooting a compute node, vfio_iommu_type1 will
not be loaded which will cause guest instances with VF/PF
fail to start/spawn.