mirror of
https://github.com/joeknock90/Single-GPU-Passthrough.git
synced 2026-10-11 22:29:52 +00:00
Reloading nvidia during revert seems to be required.
This commit is contained in:
@@ -218,6 +218,12 @@ set -x
|
||||
virsh nodedev-reattach pci_0000_0c_00_1
|
||||
virsh nodedev-reattach pci_0000_0c_00_0
|
||||
|
||||
# Reload nvidia modules
|
||||
modprobe nvidia
|
||||
modprobe nvidia_modeset
|
||||
modprobe nvidia_uvm
|
||||
modprobe nvidia_drm
|
||||
|
||||
# Rebind VT consoles
|
||||
echo 1 > /sys/class/vtconsole/vtcon0/bind
|
||||
# Some machines might have more than 1 virtual console. Add a line for each corresponding VTConsole
|
||||
|
||||
Reference in New Issue
Block a user