From df8c87af6a0d8961d0341680882d0c5056ee3408 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 14 Nov 2024 20:43:09 -0800 Subject: [PATCH] Add sound device when QemuGui=true --- mkosi/qemu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mkosi/qemu.py b/mkosi/qemu.py index ba96567a7..41a3fa8a1 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -1121,6 +1121,7 @@ def run_qemu(args: Args, config: Config) -> None: cmdline += ["-device", "virtio-gpu-pci"] else: cmdline += ["-vga", "virtio"] + cmdline += ["-audio", "driver=pipewire,model=virtio"] else: # -nodefaults removes the default CDROM device which avoids an error message during boot # -serial mon:stdio adds back the serial device removed by -nodefaults.