quickpassthrough/internal/configs/config_vfio_video.go
2023-12-26 19:20:29 +01:00

11 lines
306 B
Go

package configs
import "github.com/HikariKnight/quickpassthrough/pkg/fileio"
func DisableVFIOVideo() {
// Get the config
config := GetConfig()
// Add to the kernel arguments that we want to disable VFIO video output on the host
fileio.AppendContent(" vfio_pci.disable_vga=1", config.Path.CMDLINE)
}