vms/qemu: do not always use waypipe graphic options

This commit is contained in:
danjujan
2024-11-10 20:29:32 +00:00
committed by Jörg Thalheim
parent 5c43d8176a
commit c2b455c750
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ def graphics_options(vm: VmConfig) -> GraphicOptions:
"driver=pa,model=virtio",
]
if vm.waypipe:
if vm.waypipe.enable:
# FIXME: check for collisions
cid = random.randint(1, 2**32)
# fmt: off