summaryrefslogtreecommitdiffstats
path: root/templates/machines/qemuarm.jinja2
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-03-29 16:57:28 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-03-29 16:59:55 +0200
commitd04ef54db4d9569367b8683d2681bfdfb3ff794b (patch)
treed3f20571f59d1cac9d780fa9430bf4c396cefe30 /templates/machines/qemuarm.jinja2
parent7055ddb7f3bc188fb623e6c1dc4ea3ca82ae4561 (diff)
Update qemu arguments for changed sound optionsneedlefish_14.0.5needlefish/14.0.514.0.5needlefish
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: I910f1a7253d0f4d3c2a549a52d6b098196e57803
Diffstat (limited to 'templates/machines/qemuarm.jinja2')
-rw-r--r--templates/machines/qemuarm.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/machines/qemuarm.jinja2 b/templates/machines/qemuarm.jinja2
index bdcccaf..29c217c 100644
--- a/templates/machines/qemuarm.jinja2
+++ b/templates/machines/qemuarm.jinja2
@@ -10,7 +10,7 @@
{%- set qemu_cpu = "cortex-a15" %}
{%- set qemu_machine = "virt-2.11" %}
{%- set qemu_memory = "2048" %}
-{%- set qemu_args = "-smp 2 -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 earlyprintk systemd.log_color=false mem=2048M vmalloc=192M memblock=debug cma=160M " %}
{%- set guestfs_interface = "virtio" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}