Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6353e5b
)
Ansible: VPP Device configure unsafe noiommu
25/33425/2
author
Juraj Linkeš
<
[email protected]
>
Mon, 9 Aug 2021 11:34:12 +0000
(13:34 +0200)
committer
Peter Mikus
<
[email protected]
>
Wed, 18 Aug 2021 07:12:52 +0000
(07:12 +0000)
VFs need /sys/module/vfio/parameters/enable_unsafe_noiommu_mode to be
enabled on the host. Add this to Ansible.
Change-Id: Iee1d0ccfdb4ea9b9d6981d39490fe7feb33bf70c
Signed-off-by: Juraj Linkeš <
[email protected]
>
fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
patch
|
blob
|
history
diff --git
a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index
d12fe1e
..
9dbee8d
100644
(file)
--- a/
fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/
fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@
-129,3
+129,12
@@
- "Update GRUB"
tags:
- set-grub
+
+- name: Configure unsafe noiommu
+ lineinfile:
+ path: "/etc/modprobe.d/vfio-noiommu.conf"
+ state: "present"
+ line: "options vfio enable_unsafe_noiommu_mode=1"
+ create: "yes"
+ tags:
+ - configure-unsafe-noiommu