Re: [PATCH v3] virtio-rng: return available data with O_NONBLOCK

2022-12-14 Thread Martin Wilck
On Wed, 2022-12-14 at 14:41 +0100, Claudio Fontana wrote: > On 11/26/20 11:49, Laurent Vivier wrote: > > > Hi Laurent, Martin, > > is this resolved now? > > I wonder if this is covered by Laurent's kernel commit: > > commit 5c8e933050044d6dd2a000f9a5756ae73cbe7c44 > Author: Laurent Vivier > D

Re: [PATCH v3] virtio-rng: return available data with O_NONBLOCK

2020-09-08 Thread Martin Wilck
On Tue, 2020-09-08 at 10:14 -0400, Michael S. Tsirkin wrote: > On Mon, Aug 31, 2020 at 02:37:26PM +0200, Laurent Vivier wrote: > > On 28/08/2020 23:34, Martin Wilck wrote: > > > On Wed, 2020-08-26 at 08:26 -0400, Michael S. Tsirkin wrote: > > > > On Tue, Aug 11, 202

Re: [PATCH v3] virtio-rng: return available data with O_NONBLOCK

2020-08-28 Thread Martin Wilck
On Wed, 2020-08-26 at 08:26 -0400, Michael S. Tsirkin wrote: > On Tue, Aug 11, 2020 at 04:42:32PM +0200, Laurent Vivier wrote: > > On 11/08/2020 16:28, mwi...@suse.com wrote: > > > From: Martin Wilck > > > > > > If a program opens /dev/hwrng with O_NONBLOCK an

Re: [PATCH v2] virtio-rng: return available data with O_NONBLOCK

2020-08-11 Thread Martin Wilck
On Tue, 2020-08-11 at 14:53 +0200, Martin Wilck wrote: > On Tue, 2020-08-11 at 14:39 +0200, Laurent Vivier wrote: > > On 11/08/2020 14:22, Martin Wilck wrote: > > > On Tue, 2020-08-11 at 14:02 +0200, Laurent Vivier wrote: > > > > > > driv

Re: [PATCH v2] virtio-rng: return available data with O_NONBLOCK

2020-08-11 Thread Martin Wilck
On Tue, 2020-08-11 at 14:39 +0200, Laurent Vivier wrote: > On 11/08/2020 14:22, Martin Wilck wrote: > > On Tue, 2020-08-11 at 14:02 +0200, Laurent Vivier wrote: > > > > > drivers/char/hw_random/virtio-rng.c | 14 ++ > > > > > 1 file changed, 14

Re: [PATCH v2] virtio-rng: return available data with O_NONBLOCK

2020-08-11 Thread Martin Wilck
On Tue, 2020-08-11 at 14:02 +0200, Laurent Vivier wrote: > > > > drivers/char/hw_random/virtio-rng.c | 14 ++ > > > 1 file changed, 14 insertions(+) > > > > > > diff --git a/drivers/char/hw_random/virtio-rng.c > > > b/drivers/char/hw_random/virtio-rng.c > > > index 79a6e47b5fbc..9847

Re: [PATCH v2] virtio-rng: return available data with O_NONBLOCK

2020-08-11 Thread Martin Wilck
On Tue, 2020-08-11 at 07:26 -0400, Michael S. Tsirkin wrote: > On Wed, Jul 15, 2020 at 03:32:55PM +0200, mwi...@suse.com wrote: > > drivers/char/hw_random/virtio-rng.c | 14 ++ > > 1 file changed, 14 insertions(+) > > > > diff --git a/drivers/char/hw_random/virtio-rng.c > > b/drivers/

Reminder: [PATCH v2] virtio-rng: return available data with O_NONBLOCK

2020-08-11 Thread Martin Wilck
On Wed, 2020-07-15 at 15:32 +0200, mwi...@suse.com wrote: > From: Martin Wilck > > If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and > non-blocking read() to retrieve random data, it ends up in a tight > loop with poll() always returning POLLIN and read() returning

Re: [PATCH] virtio-rng: return available data with O_NONBLOCK

2020-07-15 Thread Martin Wilck
On Wed, 2020-07-15 at 00:00 +0200, mwi...@suse.com wrote: > From: Martin Wilck > > If a program opens /dev/hwrng with O_NONBLOCK and uses poll() and > non-blocking read() to retrieve random data, it ends up in a tight > loop with poll() always returning POLLIN and read() returning

[Qemu-devel] [PATCH] e1000: indicate dropped packets in HW counters

2018-09-25 Thread Martin Wilck
out the error cause inside the guest. If the cause is known, problems like this can often be avoided easily, by increasing the number of RX descriptors in the guest e1000 driver (e.g under Linux, "e1000.RxDescriptors=1024"). The patch also adds a qemu trace message for this condition

[Qemu-devel] [PATCH] hda-codec: use smaller dynamic range for input amplifier

2015-04-21 Thread Martin Wilck
e similar ranges for input amplifiers. Signed-off-by: Martin Wilck --- hw/audio/hda-codec-common.h | 23 +++ hw/audio/hda-codec.c| 23 +-- 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/hw/audio/hda-codec-common.h b/hw/audio/hda-