feat: working gpu passthrough \o/

This commit is contained in:
Evar 2024-12-30 05:03:36 -05:00
parent 964b99b28d
commit c140a12e66
9 changed files with 391 additions and 2 deletions

8
iommu.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
shopt -s nullglob
for g in $(find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V); do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;