Update polaris-vfio-startup.sh: added novueau, amdgpu-pro, as well as i915(Intel integrated graphics) kernel module to be unloaded just in-case someone is using those drivers.
This commit is contained in:
committed by
Risingprism
parent
2cb70813c6
commit
aef8f3c404
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
||||
mv /bin/vfio-startup.sh /bin/vfio-startup.sh.bkp
|
||||
mv /bin/vfio-teardown.sh /bin/vfio-teardown.sh.bkp
|
||||
|
||||
cp vfio-startup.sh /bin/vfio-startup.sh
|
||||
cp vfio-teardown.sh /bin/vfio-teardown.sh
|
||||
cp qemu /etc/libvirt/hooks/qemu
|
||||
|
||||
chmod +x /bin/vfio-startup.sh
|
||||
chmod +x /bin/vfio-teardonw/sh
|
||||
chmod +x /etc/libvirt/hooks/qemu
|
||||
Reference in New Issue
Block a user