Skip to content
Commit f7f510ec authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: An entropy device, as suggested by hpa.



Note that by itself, having a "hardware" random generator does very
little: you should probably run "rngd" in your guest to feed this into
the kernel entropy pool.

Included:
	virtio_rng: dont use vmalloced addresses for virtio

	If virtio_rng is build as a module, random_data is an address
	in vmalloc space. As virtio expects guest real addresses, this
	can cause any kind of funny behaviour, so lets allocate
	random_data dynamically with kmalloc.

Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 3ef53609
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment