Merge "Enable VFIO module on boot for SR-IOV deployments"
This commit is contained in:
commit
bb0f7510af
@ -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
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user