From: Rusty Russell Date: Fri, 30 May 2008 20:09:44 +0000 (-0500) Subject: virtio: An entropy device, as suggested by hpa. X-Git-Tag: v2.6.26-rc5~30^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f510ec195781c857ab76366a3e1c59e1caae42;p=pandora-kernel.git 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: Christian Borntraeger Signed-off-by: Rusty Russell --- Reading git-diff-tree failed