Commit b234a59c authored by Daniel Krebs's avatar Daniel Krebs
Browse files

scripts/non_root: also bind via pci BDF

Not sure if this is really needed though.
parent d8e8b40e
...@@ -13,6 +13,7 @@ IOMMU_GROUP=`basename $(readlink /sys/bus/pci/devices/${PCI_BDF}/iommu_group)` ...@@ -13,6 +13,7 @@ IOMMU_GROUP=`basename $(readlink /sys/bus/pci/devices/${PCI_BDF}/iommu_group)`
# bind to vfio driver # bind to vfio driver
echo "${PCI_VID} ${PCI_PID}" > /sys/bus/pci/drivers/vfio-pci/new_id 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 groupadd -f fpga
usermod -G fpga -a svg usermod -G fpga -a svg
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment