vms/qemu: fix opengl detection

This commit is contained in:
danjujan
2024-11-17 13:33:19 +01:00
committed by Mic92
parent 32e3b78e20
commit 434ce7aeb4

View File

@@ -42,7 +42,7 @@ def graphics_options(vm: VmConfig) -> GraphicOptions:
#"-chardev", "socket,id=vgpu,path=/tmp/vgpu.sock",
], cid)
# fmt: on
if not Path("/run/opengl-driver").exists():
if Path("/run/opengl-driver").exists():
display_options = [
"-vga",
"none",