diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-09-26 15:38:48 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2019-09-26 15:40:31 +0200 |
commit | f6efb3712755b960cd20a8872f6be8cc2f0a83b7 (patch) | |
tree | fa68c641e9d2d206de366738d84603c88d707dff | |
parent | c92bc4856cdff9b58e0237a25456b3464c335c52 (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>
-rw-r--r-- | templates/machines/qemuarm.jinja2 | 2 | ||||
-rw-r--r-- | templates/machines/qemuarm64.jinja2 | 2 |
2 files changed, 2 insertions, 2 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') %} 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') %} |