diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-17 17:06:55 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-17 17:06:55 -0400 |
commit | 5d9d6bcd8918e5619bf432b021d5702d287a7eef (patch) | |
tree | 721d7f28456b0b270794bd8d3ef59036c2649c89 /RyanThinkpad.scm | |
parent | 6089f9710a2ada25922f8e24b3c1ad2de8a0b63a (diff) |
added iommu
Diffstat (limited to 'RyanThinkpad.scm')
-rw-r--r-- | RyanThinkpad.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RyanThinkpad.scm b/RyanThinkpad.scm index bfacd6b..1066bac 100644 --- a/RyanThinkpad.scm +++ b/RyanThinkpad.scm | |||
@@ -3,6 +3,10 @@ | |||
3 | 3 | ||
4 | (operating-system | 4 | (operating-system |
5 | (inherit base-operating-system) | 5 | (inherit base-operating-system) |
6 | (kernel-arguments (append (list "intel_iommu=on") | ||
7 | %default-kernel-arguments)) | ||
8 | (initrd-modules (cons* "vfio_pci" "vfio" "vfio_iommu_type1" | ||
9 | %base-initrd-modules)) | ||
6 | (host-name "RyanThinkpad") | 10 | (host-name "RyanThinkpad") |
7 | (mapped-devices (list (mapped-device | 11 | (mapped-devices (list (mapped-device |
8 | (source (uuid | 12 | (source (uuid |