From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US7eZ-0001tu-Kf for qemu-devel@nongnu.org; Tue, 16 Apr 2013 11:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US7eU-00050G-UZ for qemu-devel@nongnu.org; Tue, 16 Apr 2013 11:18:39 -0400 Date: Tue, 16 Apr 2013 20:38:00 +0530 From: Amit Shah Message-ID: <20130416150800.GA7141@amit.redhat.com> References: <516D5762.7060900@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <516D5762.7060900@suse.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/1] rng random backend: check for -EAGAIN errors on read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: qemu list , Anthony Liguori , qemu-stable On (Tue) 16 Apr 2013 [15:51:30], Andreas F=E4rber wrote: > Am 16.04.2013 12:28, schrieb Amit Shah: > > Not handling EAGAIN triggers the assert > >=20 > > qemu/backends/rng-random.c:44:entropy_available: assertion failed: (l= en !=3D -1) > > Aborted (core dumped) > >=20 > > This happens when starting a guest with '-device virtio-rng-pci', > > issuing a 'cat /dev/hwrng' in the guest, while also doing 'cat > > /dev/random' on the host. > >=20 > > Reported-by: yunpingzheng > > Signed-off-by: Amit Shah >=20 > Doesn't this apply to stable, too, then? Ah, good point, it does. Thanks for CC'ing stable. Amit