[PATCH pmbootstrap] pmb.qemu.run: replace removed -soundhw option
Export this patch
In the QEMU 7.1 release the deprecated -soundhw option was removed.
Replace it with -audio so we can have audio working again in QEMU.
See also https://www.qemu.org/docs/master/about/removed-features.html
Applied, thanks!
[1/1] pmb.qemu.run: replace removed -soundhw option
commit: d68d5fcf20f7e48fe64b6a9b23d5406aa0756f55
Best regards
Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org>
---
pmb/qemu/run.py | 3 + --
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py
index 46e2d752..fdfe5447 100644
--- a/pmb/qemu/run.py
+++ b/pmb/qemu/run.py
@@ -229,8 +229,7 @@ def command_qemu(args, arch, img_path, img_path_2nd=None):
# Audio support
if args.qemu_audio:
- command += ["-audiodev", args.qemu_audio + ",id=audio"]
- command += ["-soundhw", "hda"]
+ command += ["-audio", f"{args.qemu_audio},model=hda"]
return (command, env)
--
2.40.1
pmbootstrap/patches/.build.yml: FAILED in 5m28s
[pmb.qemu.run: replace removed -soundhw option][0] from [Luca Weiss][1]
[0]: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/41656
[1]: mailto:luca@z3ntu.xyz
✗ #1001719 FAILED pmbootstrap/patches/.build.yml https://builds.sr.ht/~postmarketos/job/1001719