From f6efb3712755b960cd20a8872f6be8cc2f0a83b7 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 26 Sep 2019 15:38:48 +0200 Subject: SPEC-2739: Fix xmlsec1 ptest which timeout ptest-runner fail on xmlsec1 on ARM/ARM64. This is due to lack of randomness as the first test in doing a RSA signature. This patch adds a virtio-rng-pci device on qemuarm and qemuarm64 which adds enough randomness to permit this test to pass. Bug-AGL: SPEC-2739 Change-Id: I98dddd421572cecf2027793aad62a12853e07c59 Signed-off-by: Corentin LABBE --- templates/machines/qemuarm64.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/machines/qemuarm64.jinja2') diff --git a/templates/machines/qemuarm64.jinja2 b/templates/machines/qemuarm64.jinja2 index 0b164da..60e9a6c 100644 --- a/templates/machines/qemuarm64.jinja2 +++ b/templates/machines/qemuarm64.jinja2 @@ -9,7 +9,7 @@ {%- set qemu_cpu = "cortex-a57" %} {%- set qemu_machine = "virt" %} {%- set qemu_memory = "2048" %} -{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci" %} +{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci -device virtio-rng-pci" %} {%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false " %} {%- set rootfs_type = rootfs_type|default("ramdisk") %} {%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %} -- cgit 1.2.3-korg