Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASfpga
VILLASfpga
Commits
b234a59c
Commit
b234a59c
authored
Jun 04, 2018
by
Daniel Krebs
Browse files
scripts/non_root: also bind via pci BDF
Not sure if this is really needed though.
parent
d8e8b40e
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/non_root.sh
View file @
b234a59c
...
...
@@ -13,6 +13,7 @@ IOMMU_GROUP=`basename $(readlink /sys/bus/pci/devices/${PCI_BDF}/iommu_group)`
# bind to vfio driver
echo
"
${
PCI_VID
}
${
PCI_PID
}
"
>
/sys/bus/pci/drivers/vfio-pci/new_id
echo
"
${
PCI_BDF
}
"
>
/sys/bus/pci/drivers/vfio-pci/bind
groupadd
-f
fpga
usermod
-G
fpga
-a
svg
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment