From d04ef54db4d9569367b8683d2681bfdfb3ff794b Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Wed, 29 Mar 2023 16:57:28 +0200 Subject: Update qemu arguments for changed sound options Recent qemu deprecated -soundhw and uses a new syntax. Adapt our wrapper to use it. Bug-AGL: SPEC-4731 Signed-off-by: Jan-Simon Moeller Change-Id: I910f1a7253d0f4d3c2a549a52d6b098196e57803 --- templates/machines/qemux86-64.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/machines/qemux86-64.jinja2') diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2 index 74b3915..45dc936 100644 --- a/templates/machines/qemux86-64.jinja2 +++ b/templates/machines/qemux86-64.jinja2 @@ -7,7 +7,7 @@ {%- set device_mach = "x86" %} {%- set qemu_arch = "x86_64" %} {%- set qemu_model = "model=virtio" %} -{%- set qemu_args = "-machine q35 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda -device usb-ehci -device virtio-rng-pci -vga virtio -device qemu-xhci -device usb-tablet -device usb-kbd " %} +{%- set qemu_args = "-machine q35 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -audiodev none,id=agl,out.channels=2,in.channels=1 -device ich9-intel-hda -device hda-micro,audiodev=agl -device usb-ehci -device virtio-rng-pci -vga virtio -device qemu-xhci -device usb-tablet -device usb-kbd " %} {%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/sda verbose systemd.log_color=false rw fstab=no no_timer_check" %} {%- set rootfs_type = rootfs_type|default("rootvd") %} {%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %} -- cgit 1.2.3-korg