-soundhw ac97 is deprecated since qemu v5.1.0. Replace it with
recommended option. Fixes:

| qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use 
'-device AC97' instead

Signed-off-by: Anuj Mittal <[email protected]>
---
 conf/machine/include/qemuboot-intel.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/include/qemuboot-intel.inc 
b/conf/machine/include/qemuboot-intel.inc
index bf66ef1e..6ac84a55 100644
--- a/conf/machine/include/qemuboot-intel.inc
+++ b/conf/machine/include/qemuboot-intel.inc
@@ -13,7 +13,7 @@ QB_CPU:intel-skylake-64 = "-cpu Skylake-Client"
 QB_CPU_KVM:intel-skylake-64 = "-cpu Skylake-Client"
 
 QB_AUDIO_DRV = "alsa"
-QB_AUDIO_OPT = "-soundhw ac97,es1370"
+QB_AUDIO_OPT = "-device AC97"
 QB_KERNEL_CMDLINE_APPEND = " oprofile.timer=1"
 # Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy
 QB_OPT_APPEND = " -usb -usbdevice tablet -device virtio-rng-pci"
-- 
2.35.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7473): 
https://lists.yoctoproject.org/g/meta-intel/message/7473
Mute This Topic: https://lists.yoctoproject.org/mt/90017823/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to