From: Ian Molton <ian.molton@collabora.co.uk>
To: Jamie Lokier <jamie@shareable.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Socket reconnection.
Date: Sun, 06 Dec 2009 16:33:14 +0000 [thread overview]
Message-ID: <4B1BDCCA.5080208@collabora.co.uk> (raw)
In-Reply-To: <20091206143234.GA22994@shareable.org>
Jamie Lokier wrote:
> Ian Molton wrote:
>> Jamie Lokier wrote:
>>
>>> I'm a bit puzzled.
>>>
>>> Why isn't virtio-rng getting entropy from /dev/random on the host?
>> /dev/random may not be available.
>
> Understood on a non-Linux host.
Or a linux host with a user with insufficient privs...
>> Besides, not all entropy comes from /dev/random.
>
> On a Linux host, why isn't rngd simply injecting it's entropy into
> /dev/random where it would be more convenient to access? (No need for
> socket reconnection code, for example).
Who knows? lack of privs, an admin who only uses egd, a machine which is
being fed entropy by egd via a tunnel. User doesnt trust /dev/random,
/dev/random known to be failing FIPS tests on a shared machine - there
could be any number of reasons. In our case, entropy is comming from
hardware via egd, to be used in the guest VMs. why feed it into RNGD,
then the hosts entropy pool, THEN the guests - just feed them directly.
the egd daemon in this case also offers load balancing to all consumers
of entropy.
Since we need this on hosts without /dev/random anyway, I dont see why
we would need to deliberately cripple qemu on linux hosts...
-Ian
next prev parent reply other threads:[~2009-12-06 16:34 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-26 0:31 [Qemu-devel] Socket reconnection Ian Molton
2009-11-26 9:21 ` Gerd Hoffmann
2009-11-27 9:01 ` Jamie Lokier
2009-12-01 11:55 ` Ian Molton
2009-12-06 14:32 ` Jamie Lokier
2009-12-06 16:33 ` Ian Molton [this message]
2009-12-07 2:29 ` Jamie Lokier
2009-12-07 9:29 ` Ian Molton
2009-11-30 17:18 ` Anthony Liguori
2009-12-01 11:54 ` Ian Molton
2009-12-01 14:38 ` Krumme, Chris
2009-12-01 18:29 ` Ian Molton
2009-12-01 18:54 ` Anthony Liguori
2009-12-02 10:40 ` Ian Molton
2009-12-02 12:04 ` [Qemu-devel] " Jan Kiszka
2009-12-02 19:56 ` [Qemu-devel] " Anthony Liguori
2009-12-02 22:35 ` Krumme, Chris
2009-12-03 10:04 ` Ian Molton
2009-12-03 10:23 ` Kevin Wolf
2009-12-03 14:22 ` Anthony Liguori
2009-12-03 18:37 ` [Qemu-devel] [PATCH]Socket reconnection Ian Molton
2009-12-05 22:03 ` Ian Molton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B1BDCCA.5080208@collabora.co.uk \
--to=ian.molton@collabora.co.uk \
--cc=jamie@shareable.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.