Skip to content

Commit

Permalink
dm: add virtio-rnd device to command line
Browse files Browse the repository at this point in the history
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 <junhao.gao@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
  • Loading branch information
gaojunhao0504 authored and wenlingz committed Jun 18, 2019
1 parent 030e768 commit efccdd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devicemodel/samples/nuc/launch_uos.sh
Expand Up @@ -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 \
Expand Down

0 comments on commit efccdd2

Please sign in to comment.