Johannes Berg wrote:
quoted text >> +
>> +/* Our random number generator device reads from /dev/urandom into the Guest's
>> + * input buffers. The usual case is that the Guest doesn't want random numbers
>> + * and so has no buffers although /dev/urandom is still readable, whereas
>> + * console is the reverse.
>
> Is it really a good idea to use the hosts /dev/urandom to fill the
> guests /dev/random?
Only if you have an entropy estimate to go with it. It's still dubious,
though: the guests own pool will do its own mixing, so you might as well
pull from /dev/random in the host as being a genuine entropy source and
only add what entropy is available.
-hpa
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Virt RNG? , Jeff Garzik , (Thu May 15, 11:48 am)
Re: [PATCH 2/2] lguest: virtio-rng support , H. Peter Anvin , (Fri May 16, 1:25 pm)