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:
Ansh Srivastava
2020-10-08 19:40:52 +00:00
committed by Risingprism
parent 2cb70813c6
commit aef8f3c404
5 changed files with 34 additions and 9 deletions
+4 -3
View File
@@ -1,12 +1,13 @@
#!/bin/sh
#!/bin/bash
# Script for win10
if [[ $1 == "win10" ]]; then
if [[ $2 == "prepare" ]]; then
/bin/polaris-vfio-startup.sh
/bin/vfio-startup.sh 2>&1 | tee -a /var/log/libvirt/custom_hooks.log
fi
if [[ $2 == "release" ]]; then
/bin/polaris-vfio-teardown.sh
/bin/vfio-teardown.sh 2>&1 | tee -a /var/log/libvirt/custom_hooks.log
fi
fi