Skip to content

Commit efccdd2

Browse files
gaojunhao0504wenlingz
authored andcommitted
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 <junhao.gao@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com>
1 parent 030e768 commit efccdd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

devicemodel/samples/nuc/launch_uos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
101101
-s 6,virtio-hyper_dmabuf \
102102
-s 3,virtio-blk,/home/clear/uos/uos.img \
103103
-s 4,virtio-net,tap0 \
104+
-s 7,virtio-rnd \
104105
$logger_setting \
105106
--mac_seed $mac_seed \
106107
-k /usr/lib/kernel/default-iot-lts2018 \

0 commit comments

Comments
 (0)