update ls-iommu to have more readable output
This commit is contained in:
parent
9942fa7e12
commit
50e97c7aa2
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@
|
|||
# Originally from here: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639
|
||||
for d in /sys/kernel/iommu_groups/*/devices/*; do
|
||||
n=${d#*/iommu_groups/*}; n=${n%%/*}
|
||||
printf 'IOMMU Group %s ' "$n"
|
||||
printf 'IOMMU Group %s: ' "$n"
|
||||
lspci -nns "${d##*/}"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue