mirror of
https://github.com/kholia/OSX-KVM.git
synced 2026-04-06 14:53:54 +00:00
OSX-KVM - May 2021 Batch Update
Changes: - Fix CPUFAMILY_INTEL_PENRYN patch to support Big Sur 11.3 [thenickdude] - AMD GPU passthrough notes
This commit is contained in:
parent
ca219f57e5
commit
a1cd556d3a
12 changed files with 262 additions and 971 deletions
11
scripts/list_iommu_groups.sh
Executable file
11
scripts/list_iommu_groups.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Source: https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
|
||||
|
||||
shopt -s nullglob
|
||||
for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
|
||||
echo "IOMMU Group ${g##*/}:"
|
||||
for d in $g/devices/*; do
|
||||
echo -e "\t$(lspci -nns ${d##*/})"
|
||||
done;
|
||||
done;
|
||||
Loading…
Add table
Add a link
Reference in a new issue