aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines/qemuarm.jinja2
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-09-26 15:38:48 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-09-26 15:40:31 +0200
commitf6efb3712755b960cd20a8872f6be8cc2f0a83b7 (patch)
treefa68c641e9d2d206de366738d84603c88d707dff /templates/machines/qemuarm.jinja2
parentc92bc4856cdff9b58e0237a25456b3464c335c52 (diff)
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 <clabbe@baylibre.com>
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 2518705..b04915e 100644
--- a/templates/machines/qemuarm.jinja2
+++ b/templates/machines/qemuarm.jinja2
@@ -9,7 +9,7 @@
{%- set qemu_cpu = "cortex-a15" %}
{%- set qemu_machine = "virt" %}
{%- set qemu_memory = "2048" %}
-{%- set qemu_args = "-soundhw hda -device usb-ehci" %}
+{%- set qemu_args = "-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') %}