Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Daniel P . Berrangé
On Fri, May 10, 2019 at 12:55:18PM -0400, Michael S. Tsirkin wrote: > On Fri, May 10, 2019 at 05:25:54PM +0100, Daniel P. Berrangé wrote: > > On Fri, May 10, 2019 at 12:21:19PM -0400, Michael S. Tsirkin wrote: > > > On Fri, May 10, 2019 at 05:16:44PM +0100, Daniel P. Berrangé wrote: > > > > On

Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Michael S. Tsirkin
On Fri, May 10, 2019 at 05:25:54PM +0100, Daniel P. Berrangé wrote: > On Fri, May 10, 2019 at 12:21:19PM -0400, Michael S. Tsirkin wrote: > > On Fri, May 10, 2019 at 05:16:44PM +0100, Daniel P. Berrangé wrote: > > > On Fri, May 10, 2019 at 12:12:41PM -0400, Michael S. Tsirkin wrote: > > > > On

Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Daniel P . Berrangé
On Fri, May 10, 2019 at 12:21:19PM -0400, Michael S. Tsirkin wrote: > On Fri, May 10, 2019 at 05:16:44PM +0100, Daniel P. Berrangé wrote: > > On Fri, May 10, 2019 at 12:12:41PM -0400, Michael S. Tsirkin wrote: > > > On Fri, May 10, 2019 at 03:42:01PM +0200, Laurent Vivier wrote: > > > > From:

Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Michael S. Tsirkin
On Fri, May 10, 2019 at 05:16:44PM +0100, Daniel P. Berrangé wrote: > On Fri, May 10, 2019 at 12:12:41PM -0400, Michael S. Tsirkin wrote: > > On Fri, May 10, 2019 at 03:42:01PM +0200, Laurent Vivier wrote: > > > From: Kashyap Chamarthy > > > > > > When QEMU exposes a VirtIO-RNG device to the

Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Markus Armbruster
Laurent Vivier writes: > From: Kashyap Chamarthy > > When QEMU exposes a VirtIO-RNG device to the guest, that device needs a > source of entropy, and that source needs to be "non-blocking", like > `/dev/urandom`. However, currently QEMU defaults to the problematic > `/dev/random`, which is

Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Daniel P . Berrangé
On Fri, May 10, 2019 at 12:12:41PM -0400, Michael S. Tsirkin wrote: > On Fri, May 10, 2019 at 03:42:01PM +0200, Laurent Vivier wrote: > > From: Kashyap Chamarthy > > > > When QEMU exposes a VirtIO-RNG device to the guest, that device needs a > > source of entropy, and that source needs to be

Re: [Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Michael S. Tsirkin
On Fri, May 10, 2019 at 03:42:01PM +0200, Laurent Vivier wrote: > From: Kashyap Chamarthy > > When QEMU exposes a VirtIO-RNG device to the guest, that device needs a > source of entropy, and that source needs to be "non-blocking", like > `/dev/urandom`. However, currently QEMU defaults to the

[Qemu-devel] [PATCH v3 1/3] VirtIO-RNG: Update default entropy source to `/dev/urandom`

2019-05-10 Thread Laurent Vivier
From: Kashyap Chamarthy When QEMU exposes a VirtIO-RNG device to the guest, that device needs a source of entropy, and that source needs to be "non-blocking", like `/dev/urandom`. However, currently QEMU defaults to the problematic `/dev/random`, which is "blocking" (as in, it waits until