1
0
Fork 0
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:
Daniel Krebs 2018-06-04 12:21:45 +02:00
parent 5097827757
commit 3a99bee400

View file

@ -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