mirror of
https://github.com/kholia/OSX-KVM.git
synced 2026-02-04 13:03:36 +00:00
OSX-KVM - March 2021 - Batch Update 1
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
This commit is contained in:
15
scripts/lsgroup.sh
Executable file
15
scripts/lsgroup.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user