From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT3Ww-0006Lr-FH for qemu-devel@nongnu.org; Tue, 30 Oct 2012 00:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT3Wv-00010q-F0 for qemu-devel@nongnu.org; Tue, 30 Oct 2012 00:34:22 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57367 helo=mail.zytor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT3Wv-0000zr-79 for qemu-devel@nongnu.org; Tue, 30 Oct 2012 00:34:21 -0400 Message-ID: <508F58CB.9090509@zytor.com> Date: Mon, 29 Oct 2012 21:34:19 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 References: <604401631.2277495.1351264128301.JavaMail.root@redhat.com> <871ugl44v5.fsf@codemonkey.ws> <508AB5C0.2000304@zytor.com> <508ADD66.5040909@redhat.com> <5ea4bbfb-b761-42ef-93f8-7c91fee0bb30@email.android.com> <508AE9A6.4060304@redhat.com> <508AF2C0.30404@zytor.com> <508E4215.6050803@redhat.com> In-Reply-To: <508E4215.6050803@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/6] add paravirtualization hwrng support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Amit Shah , Anthony Liguori , Andreas Faerber , qemu-devel@nongnu.org On 10/29/2012 01:45 AM, Paolo Bonzini wrote: >> First, hwrng is only one of the sources used by rngd. It can also >> (currently) use RDRAND or TPM; additional sources are likely to be added >> in the future. >> >> Second, the harvesting of environmental noise -- timings -- is not as >> good in a VM as on plain hardware, so for the no-hwrng case it is better >> for this to be done in the host than in the VM. > > Neither of these make /dev/random with virtio-rng-pci worse than without > (as would be the case if you fed /dev/urandom). And migration works. > > This, and avoiding denial of service for the host's /dev/random, is all > I care about at this time. > > There is always time to change defaults to something better. Your logic are roughly on the level with the people who caused the Debian bug. You are proposing something utterly reckless. Sorry, please stop. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.