提交 5a79b349 编写于 作者: C Cong 提交者: GitHub

Merge pull request #858 from suqinhuang/rng_cmd

Update /dev/hwrng to /dev/random for rng random read
......@@ -20,7 +20,7 @@
driver_check_cmd = "WIN_UTILS:\devcon\wnet_amd64\devcon.exe status @DRIVER_ID"
Linux:
session_cmd_timeout = 360
read_rng_cmd = "dd if=/dev/hwrng bs=1 count=10 2>/dev/null|hexdump"
read_rng_cmd = "dd if=/dev/random bs=1 count=10 2>/dev/null|hexdump"
driver_verifier_cmd = "cat /sys/devices/virtual/misc/hw_random/rng_current"
driver_name = virtio
rng_data_rex = "\w+"
......@@ -22,7 +22,7 @@
Linux:
session_cmd_timeout = 360
driver_verifier_cmd = "cat /sys/devices/virtual/misc/hw_random/rng_current"
read_rng_cmd = "dd if=/dev/hwrng bs=1 count=10 2>/dev/null|hexdump"
read_rng_cmd = "dd if=/dev/random bs=1 count=10 2>/dev/null|hexdump"
driver_name = "virtio"
rng_data_rex = "\w+"
restart_rngd = "service rngd restart"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册