mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
rng-random: add an RNG backend that uses /dev/random (v3)
The filename can be overridden but it expects a non-blocking source of entropy. A typical invocation would be: qemu -object rng-random,id=rng0 -device virtio-rng-pci,rng=rng0 This can also be used with /dev/urandom by using the command line: qemu -object rng-random,filename=/dev/urandom,id=rng0 \ -device virtio-rng-pci,rng=rng0 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- v1 -> v2 - merged header split patch into this one v2 -> v3 - bug fix in rng-random (Paolo)
This commit is contained in:
parent
a9b7b2ad7b
commit
5c74521d24
3 changed files with 184 additions and 1 deletions
|
@ -1 +1 @@
|
|||
common-obj-y += rng.o
|
||||
common-obj-y += rng.o rng-random.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue