dashboard
repositories
filestore
activity
search
login
main
/
Scripts
mirror of
https://github.com/Chizi123/Scripts.git
summary
commits
tree
docs
forks
compare
view
|
history
|
commit
|
commitdiff
Create VGPU with GVT-g for vm
Joel Grunbaum
2020-03-21
5008b013dbc1368677026e864b613fce2d947c71
[Scripts.git]
/
IOMMU.sh
commit
|
author
|
age
64e605
1
#!/bin/bash
JG
2
shopt -s nullglob
3
for g in /sys/kernel/iommu_groups/*; do
4
echo "IOMMU Group ${g##*/}:"
5
for d in $g/devices/*; do
6
echo -e "\t$(lspci -nns ${d##*/})"
7
done;
8
done;