diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-03-29 16:57:28 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-03-29 16:57:28 +0200 |
commit | 1c19e8cc2040bb3100e17c426bf6cab0c83debe4 (patch) | |
tree | 98fe8e9b2e4d1542fdf2ee974b35d5990cdc6a2f /templates/machines/qemuarm64.jinja2 | |
parent | 87a46d7e62a46ef3c6a1f9cd93753e63c95d40d7 (diff) |
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 <jsmoeller@linuxfoundation.org>
Change-Id: I6af0f2184ba09781a55ae173ece7cea3d7ddaddb
Diffstat (limited to 'templates/machines/qemuarm64.jinja2')
-rw-r--r-- | templates/machines/qemuarm64.jinja2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/machines/qemuarm64.jinja2 b/templates/machines/qemuarm64.jinja2 index 0aeb9a1..5425934 100644 --- a/templates/machines/qemuarm64.jinja2 +++ b/templates/machines/qemuarm64.jinja2 @@ -10,7 +10,7 @@ {%- set qemu_cpu = "cortex-a57" %} {%- set qemu_machine = "virt" %} {%- set qemu_memory = "4096" %} -{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=128,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd " %} +{%- set qemu_args = "-smp 2 -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 -device VGA,vgamem_mb=128,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd " %} {%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose mem=4096M systemd.log_color=false " %} {%- set guestfs_interface = "virtio" %} {%- set rootfs_type = rootfs_type|default("rootvd") %} |