Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/sh
  2. DEVS="0000:03:00.0 0000:03:00.1"
  3.  
  4. for DEV in $DEVS; do
  5.     echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
  6. done
  7.  
  8. modprobe -i vfio-pci
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement