Skip to content

Commit

Permalink
Add sound device when QemuGui=true
Browse files Browse the repository at this point in the history
  • Loading branch information
davide125 committed Nov 16, 2024
1 parent d222154 commit df8c87a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkosi/qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit df8c87a

Please sign in to comment.