Add: a script to check IOMMU grouping
All checks were successful
/ test (push) Successful in 5s
All checks were successful
/ test (push) Successful in 5s
This commit is contained in:
parent
1604bfb9de
commit
ab2fcb4db6
1 changed files with 8 additions and 0 deletions
8
ShellScripts/check-IOMMU-grouping.sh
Executable file
8
ShellScripts/check-IOMMU-grouping.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/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;
|
Loading…
Reference in a new issue