forked from DustVoice/dotfiles
10 lines
235 B
Fish
10 lines
235 B
Fish
|
function check-iommu --description 'Check iommu groups'
|
||
|
for g in /sys/kernel/iommu_groups/*
|
||
|
echo "IOMMU Group ${g##*/}:"
|
||
|
|
||
|
for d in $g/devices/*
|
||
|
echo -e "\t$(lspci -nns ${d##*/})"
|
||
|
end
|
||
|
end
|
||
|
end
|