Skip to content

Commit de9d488

Browse files
authored
Merge pull request #2435 from stackhpc/pci-passthrough-fixes
Fix dracut warnings caused by PCI passthrough configuration
2 parents ca1b970 + 2b655dd commit de9d488

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

etc/kayobe/ansible/maintenance/pci-passthrough.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
- name: Enable GPU passthough
2+
- name: Enable GPU passthrough
33
hosts: "{{ (gpu_group_map | default({})).keys() }}"
44
vars:
55
# This playbook will execute after nodes are deployed
@@ -26,7 +26,7 @@
2626
ansible.builtin.blockinfile:
2727
path: /etc/dracut.conf.d/gpu-vfio.conf
2828
block: |
29-
add_drivers+="vfio vfio_iommu_type1 vfio_pci vfio_virqfd"
29+
add_drivers+=" vfio vfio_iommu_type1 vfio_pci "
3030
owner: root
3131
group: root
3232
mode: 0660
@@ -43,7 +43,6 @@
4343
vfio
4444
vfio_iommu_type1
4545
vfio_pci
46-
vfio_virqfd
4746
owner: root
4847
group: root
4948
mode: 0664
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes PCI passthrough configuration following the removal of the
5+
``vfio_virqfd`` module from modern Linux kernels.

0 commit comments

Comments
 (0)