From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCG5p-0005ub-RE for qemu-devel@nongnu.org; Sun, 03 Mar 2013 16:05:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCG5o-0005r6-SX for qemu-devel@nongnu.org; Sun, 03 Mar 2013 16:05:13 -0500 Received: from mail-oa0-f47.google.com ([209.85.219.47]:54973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCG5o-0005qX-OB for qemu-devel@nongnu.org; Sun, 03 Mar 2013 16:05:12 -0500 Received: by mail-oa0-f47.google.com with SMTP id o17so8341747oag.34 for ; Sun, 03 Mar 2013 13:05:12 -0800 (PST) From: Anthony Liguori In-Reply-To: <5131EF32.5010808@redhat.com> References: <512FF819.7050505@redhat.com> <87k3pqzy2y.fsf@codemonkey.ws> <513110D3.5030503@linux.vnet.ibm.com> <87d2vig75m.fsf@codemonkey.ws> <51311A13.6030205@redhat.com> <87r4jy90wt.fsf@codemonkey.ws> <51313660.5010001@redhat.com> <87vc9apt7r.fsf@codemonkey.ws> <513147E4.5030005@redhat.com> <87txouv6hp.fsf@codemonkey.ws> <5131EF32.5010808@redhat.com> Date: Sun, 03 Mar 2013 15:05:09 -0600 Message-ID: <874ngs9ou2.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] virtio-rng and fd passing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "qemu-devel@nongnu.org" , Stefan Berger Paolo Bonzini writes: > Il 02/03/2013 04:13, Anthony Liguori ha scritto: >> There is no valid use-case of rng-random other than using /dev/random. >> In fact, it was probably a mistake to even allow a filename to be >> specified because it lets people do silly things (like /dev/urandom). >> >> If you want anything other than /dev/random, you should use rng-egd. > > /dev/hwrng makes sense too. Good point. Perhaps we should issue a warning when anything is used other than /dev/random or /dev/hwrng to discourage people from doing the wrong thing. I completely understand the confusion and I think we should try a bit harder to prevent people from getting it wrong. Regards, Anthony Liguori > > Paolo