Update QEMU audio configuration
authorScott Murray <scott.murray@konsulko.com>
Fri, 4 Mar 2022 19:18:29 +0000 (14:18 -0500)
committerScott Murray <scott.murray@konsulko.com>
Wed, 30 Mar 2022 18:08:33 +0000 (14:08 -0400)
Replace obsoleted "-sound hda" QEMU default audio option with the
-device and -audiodev options that now yield the same result.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If3b6e33f3d1b77516950d299b98f394eff1efa72

meta-agl-core/conf/distro/poky-agl.conf

index ae1b09f..5903e59 100644 (file)
@@ -130,7 +130,7 @@ QB_MEM ?= "-m 2048"
 # use pulseaudio on the host side - off as qemu-native is built with alsa
 #QB_AUDIO_DRV = "pa"
 # expose a virtual 'hda' sound card to the guest (arm/aarch64/x86-64)
-QB_AUDIO_OPT = "-soundhw hda"
+QB_AUDIO_OPT = "-device intel-hda -device hda-duplex -audiodev alsa,id=agl"
 
 # Board templates can add extra IMAGE_FSTYPES through this.
 # It is added (late) through the AGL image recipes.