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/Makefile.objs | |
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/Makefile.objs')
-rw-r--r-- | backends/Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/Makefile.objs b/backends/Makefile.objs index 06e08c782d..23ca19b320 100644 --- a/backends/Makefile.objs +++ b/backends/Makefile.objs @@ -1 +1 @@ -common-obj-y += rng.o +common-obj-y += rng.o rng-random.o |