Enable pass-through IOMMU on Bookworm

This commit is contained in:
Joshua Boniface 2023-09-05 16:35:41 -04:00
parent 6ac6b74023
commit 85253e9706
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="PVC Parallel Virtual Cluster - Debian"
{% if debian_version|int >= 11 %}
{% if debian_version|int >= 12 %}
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 iommu=pt {{ grub_cmdline }}"
{% elif debian_version|int >= 11 %}
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 {{ grub_cmdline }}"
{% else %}
GRUB_CMDLINE_LINUX="{{ grub_cmdline }}"