Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- 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 2
- virsh nodedev-detach pci_0000_06_00_0
- virsh nodedev-detach pci_0000_06_00_1
- virsh nodedev-detach pci_0000_06_00_2
- virsh nodedev-detach pci_0000_06_00_3
- modprobe vfio-pci
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement