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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user