qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] RFC: virtio-rng and /dev/urandom
@ 2016-04-15 10:41 Cole Robinson
  2016-04-15 11:46 ` Richard W.M. Jones
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Cole Robinson @ 2016-04-15 10:41 UTC (permalink / raw)
  To: libvirt-list, qemu-devel
  Cc: Richard W.M. Jones, Daniel P. Berrange, Peter Krempa, Amit Shah,
	mik, jjaburek, hkario, sgrubb, hpa, Paolo Bonzini, Eric Blake

Libvirt currently rejects using host /dev/urandom as an input source for a
virtio-rng device. The only accepted sources are /dev/random and /dev/hwrng.
This is the result of discussions on qemu-devel around when the feature was
first added (2013). Examples:

http://lists.gnu.org/archive/html/qemu-devel/2012-09/msg02387.html
https://lists.gnu.org/archive/html/qemu-devel/2013-03/threads.html#00023

libvirt's rejection of /dev/urandom has generated some complaints from users:

https://bugzilla.redhat.com/show_bug.cgi?id=1074464
* cited: http://www.2uo.de/myths-about-urandom/
http://www.redhat.com/archives/libvir-list/2016-March/msg01062.html
http://www.redhat.com/archives/libvir-list/2016-April/msg00186.html

I think it's worth having another discussion about this, at least with a
recent argument in one place so we can put it to bed. I'm CCing a bunch of
people. I think the questions are:

1) is the original recommendation to never use virtio-rng+/dev/urandom correct?

2) regardless of #1, should we continue to reject that config in libvirt?

Thanks,
Cole

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-04-20 22:48 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 10:41 [Qemu-devel] RFC: virtio-rng and /dev/urandom Cole Robinson
2016-04-15 11:46 ` Richard W.M. Jones
2016-04-15 11:54   ` [Qemu-devel] [libvirt] " Richard W.M. Jones
2016-04-20 22:48   ` [Qemu-devel] " Steve Grubb
2016-04-15 15:47 ` Eric Blake
2016-04-15 16:10   ` Hubert Kario
2016-04-16  0:46     ` H. Peter Anvin
2016-04-16  0:51     ` H. Peter Anvin
2016-04-16  8:31       ` Paolo Bonzini
2016-04-18  0:20         ` H. Peter Anvin
2016-04-18  0:27         ` H. Peter Anvin
2016-04-18 11:21           ` Hubert Kario
2016-04-18 11:00       ` Hubert Kario
2016-04-19 11:30   ` [Qemu-devel] [libvirt] " Yaniv Kaul
2016-04-15 15:56 ` [Qemu-devel] " H. Peter Anvin
2016-04-15 16:06   ` Hubert Kario
2016-04-18  9:28   ` Daniel P. Berrange
2016-04-18  9:46     ` H. Peter Anvin
2016-04-18 11:07       ` Hubert Kario
2016-04-18 11:26         ` Daniel P. Berrange
2016-04-18 21:45           ` H. Peter Anvin
2016-04-20 22:21 ` Cole Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).