lkml.org 
[lkml]   [2008]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Virt RNG?
Date
On Friday 16 May 2008 04:48:53 Jeff Garzik wrote:
> Has anyone yet written a "hw" RNG module for virt, that reads the host's
> random number pool?
>
> All this talk[1] about IRQF_SAMPLE_RANDOM in network drivers reminds me
> that virt guest instances should be grabbing random numbers from the
> host, especially if the host has a hardware RNG.

Yes, I prepared one earlier. I was a little surprised to see that hwrng
drivers don't contribute in any way to the entropy pool though, but now
reading the thread I find out about rngd (not installed on my Ubuntu system,
but available at least).

One could argue that virtual rng should try to feed the kernel rng directly,
with or without entropy credit.

Anyway, since there's interest, I'll drag virtio_rng from the bottom of the
queue, apply Christian's fix (which I somehow missed before, sorry
Christian), and re-post.

Thanks,
Rusty.


\
 
 \ /
  Last update: 2008-05-16 01:45    [W:0.129 / U:2.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site