1
0
Fork 0
Browse Source

Added framebuffer unbinding for single GPU passthrough

master
Jakub Filo 11 months ago
parent
commit
bd65a06983
  1. 6
      roles/libvirthost/files/usr/local/bin/kvm-tuning.sh

6
roles/libvirthost/files/usr/local/bin/kvm-tuning.sh

@ -26,4 +26,10 @@ echo 0 > /sys/bus/workqueue/devices/writeback/numa
echo 0 > /proc/sys/kernel/watchdog
echo 300 > /proc/sys/vm/stat_interval
# For single GPU passthrough
# Unbind VTconsoles
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
# Unbind EFI-Framebuffer
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

Loading…
Cancel
Save