pmb.qemu.run: replace removed -soundhw option
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 Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230605102320.739043-1-luca@z3ntu.xyz%3E
This commit is contained in:
parent
1d0eb2792f
commit
d68d5fcf20
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue