From efccdd22a06642ec1edba8a9626d9454ff127b4b Mon Sep 17 00:00:00 2001 From: Gao Junhao Date: Tue, 11 Jun 2019 06:45:29 +0000 Subject: [PATCH] dm: add virtio-rnd device to command line When FE virtio devices work in polling mode, sshd.service can't start normally and blocks at generating random bytes. When reading from the random source, getrandom() blocks caused by no random bytes. Tracked-On: #3268 Signed-off-by: Gao Junhao Reviewed-by: Yu Wang --- devicemodel/samples/nuc/launch_uos.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/devicemodel/samples/nuc/launch_uos.sh b/devicemodel/samples/nuc/launch_uos.sh index f2d49942a..5035aa7ec 100755 --- a/devicemodel/samples/nuc/launch_uos.sh +++ b/devicemodel/samples/nuc/launch_uos.sh @@ -101,6 +101,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \ -s 6,virtio-hyper_dmabuf \ -s 3,virtio-blk,/home/clear/uos/uos.img \ -s 4,virtio-net,tap0 \ + -s 7,virtio-rnd \ $logger_setting \ --mac_seed $mac_seed \ -k /usr/lib/kernel/default-iot-lts2018 \