Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set -x
- source "/etc/libvirt/hooks/kvm.conf"
- systemctl stop sddm.service
- echo 0 > /sys/class/vtconsole/vtcon0/bind
- echo 0 > /sys/class/vtconsole/vtcon1/bind
- echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
- sleep 30
- modprobe -r nvidia-drm
- modprobe -r nvidia-modeset
- modprobe -r drm_kms_helper
- modprobe -r nvidia
- modprobe -r i2c_nvidia_gpu
- modprobe -r drm
- modprobe -r nvidia-uvm
- virsh nodedev-detach pci_0000_07_00_0
- virsh nodedev-detach pci_0000_07_00_1
- virsh nodedev-detach pci_0000_07_00_2
- virsh nodedev-detach pci_0000_07_00_3
- modprobe vfio
- modprobe vfio_pci
- modprobe vfio_iommu_type1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement