vms/qemu: fix opengl detection
This commit is contained in:
@@ -42,7 +42,7 @@ def graphics_options(vm: VmConfig) -> GraphicOptions:
|
|||||||
#"-chardev", "socket,id=vgpu,path=/tmp/vgpu.sock",
|
#"-chardev", "socket,id=vgpu,path=/tmp/vgpu.sock",
|
||||||
], cid)
|
], cid)
|
||||||
# fmt: on
|
# fmt: on
|
||||||
if not Path("/run/opengl-driver").exists():
|
if Path("/run/opengl-driver").exists():
|
||||||
display_options = [
|
display_options = [
|
||||||
"-vga",
|
"-vga",
|
||||||
"none",
|
"none",
|
||||||
|
|||||||
Reference in New Issue
Block a user