fedora-install-scripts/pcie passthough/vfio-pci-override-vga.sh
Michael 6cc262dc62 pcie passthrough configuration
Signed-off-by: Michael <michael.lindman@gmail.com>
2020-11-05 06:30:48 +00:00

8 lines
155 B
Bash

#!/bin/sh
DEVS="0000:2e:00.0 0000:2e:00.1"
for DEV in $DEVS; do
echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
done
modprobe -i vfio-pci