summaryrefslogtreecommitdiffstats
path: root/backends/Makefile.objs
diff options
context:
space:
mode:
authorAnthony Liguori2012-06-25 17:34:09 +0200
committerAnthony Liguori2012-11-16 15:36:13 +0100
commit5c74521d249486fa3e749dbbf6d56a70d4d7235f (patch)
tree2c70ecc569e7a7d64d4e7a799ff2fd7ed10c7e53 /backends/Makefile.objs
parentrng: add RndBackend abstract object class (diff)
downloadqemu-5c74521d249486fa3e749dbbf6d56a70d4d7235f.tar.gz
qemu-5c74521d249486fa3e749dbbf6d56a70d4d7235f.tar.xz
qemu-5c74521d249486fa3e749dbbf6d56a70d4d7235f.zip
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.objs2
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