From c226bfdda71eefc3c3e9317d635393ebb9d74ac3 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Tue, 12 Nov 2019 14:12:47 +0100 Subject: [PATCH] test: Provide host's randomness via virtio --- test/run-qemu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run-qemu b/test/run-qemu index 4eb497fff..5d370fa88 100755 --- a/test/run-qemu +++ b/test/run-qemu @@ -17,6 +17,9 @@ $(lsmod | grep -q '^kqemu ') && BIN=/usr/bin/qemu && ARGS="-kernel-kqemu -cpu ho exit 1 } +# Provide rng device sourcing the hosts /dev/urandom +ARGS="$ARGS -device virtio-rng-pci" + KVERSION=${KVERSION-$(uname -r)} VMLINUZ="/lib/modules/${KVERSION}/vmlinuz" -- 2.39.2