ca219f57e5
Changes: - Upgrade to OpenCore 0.6.7-RELEASE - Big Sur image building script updates (Nick) - See https://github.com/kholia/OSX-KVM/pull/169 for details. - Removed history to reduce repository size
15 lines
300 B
Bash
Executable file
15 lines
300 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# mafferri (https://bbs.archlinux.org)
|
|
|
|
BASE="/sys/kernel/iommu_groups"
|
|
|
|
for i in $(find $BASE -maxdepth 1 -mindepth 1 -type d); do
|
|
GROUP=$(basename $i)
|
|
echo "### Group $GROUP ###"
|
|
for j in $(find $i/devices -type l); do
|
|
DEV=$(basename $j)
|
|
echo -n " "
|
|
lspci -s $DEV
|
|
done
|
|
done
|