From: Davide Cavalca Date: Fri, 15 Nov 2024 04:43:09 +0000 (-0800) Subject: Add sound device when QemuGui=true X-Git-Tag: v25~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d44b6861290ef2a23a59a060033032539b7b254;p=thirdparty%2Fmkosi.git Add sound device when QemuGui=true --- 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.