[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200805160943.08788.rusty@rustcorp.com.au>
Date: Fri, 16 May 2008 09:43:08 +1000
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jeff Garzik <jeff@...zik.org>
Cc: LKML <linux-kernel@...r.kernel.org>, virtualization@...ts.osdl.org,
jeremy@...source.com, Herbert Xu <herbert@...dor.apana.org.au>,
Avi Kivity <avi@...ranet.com>,
Christian Borntraeger <borntraeger@...ibm.com>
Subject: Re: Virt RNG?
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists