mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
scripts/non_root: also bind via pci BDF
Not sure if this is really needed though.
This commit is contained in:
parent
5097827757
commit
3a99bee400
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue