diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-06-25 10:34:09 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-16 08:36:13 -0600 |
commit | 5c74521d249486fa3e749dbbf6d56a70d4d7235f (patch) | |
tree | 2c70ecc569e7a7d64d4e7a799ff2fd7ed10c7e53 /backends/rng-egd.c | |
parent | a9b7b2ad7b075dba5495271706670e5c6b1304bc (diff) |
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)
Diffstat (limited to 'backends/rng-egd.c')
0 files changed, 0 insertions, 0 deletions