scripts/lsiommu

10 lines
184 B
Plaintext
Raw Permalink Normal View History

2020-07-30 13:44:20 +00:00
#!/bin/bash
shopt -s nullglob
for g in /sys/kernel/iommu_groups/*; do
echo "IOMMU Groups ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;