[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] rng random backend: check for -EAGAIN error
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] rng random backend: check for -EAGAIN errors on read |
Date: |
Tue, 16 Apr 2013 20:38:00 +0530 |
On (Tue) 16 Apr 2013 [15:51:30], Andreas Färber wrote:
> Am 16.04.2013 12:28, schrieb Amit Shah:
> > Not handling EAGAIN triggers the assert
> >
> > qemu/backends/rng-random.c:44:entropy_available: assertion failed: (len !=
> > -1)
> > Aborted (core dumped)
> >
> > 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.
> >
> > Reported-by: yunpingzheng <address@hidden>
> > Signed-off-by: Amit Shah <address@hidden>
>
> Doesn't this apply to stable, too, then?
Ah, good point, it does.
Thanks for CC'ing stable.
Amit