diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2021-05-11 08:02:05 +0000 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2021-05-11 08:02:05 +0000 |
commit | 7ea7969092a37f35ef78c7f869d5fa2969338dab (patch) | |
tree | a96d97c020bf66489ded90f700ffdf1b1c49f6db | |
parent | 83b92939bf2eea8f1eebee6afd6a256be9a31977 (diff) |
SPEC-3764: replace qemu soundhw argument
Since we use a more recent qemu-arm, we need to change some deprecated argument use.
This fixes the warning:
qemu-system-arm: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead
Change-Id: Icd8272a7d250d89d72652096a332f266c2c4b4a1
Bug-AGL: SPEC-3764
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r-- | templates/machines/qemuarm.jinja2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/machines/qemuarm.jinja2 b/templates/machines/qemuarm.jinja2 index 4a5f946..51ecc0d 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 = "4096" %} -{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=64,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd" %} +{%- set qemu_args = "-smp 2 -device intel-hda -device hda-duplex -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=64,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd" %} {%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false mem=4096M vmalloc=512M " %} {%- set guestfs_interface = "virtio" %} {%- set rootfs_type = rootfs_type|default("rootvd") %} |