10 lines
184 B
Plaintext
10 lines
184 B
Plaintext
|
#!/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;
|
||
|
|