docs: formatdomain: Mention that 'urandom' is the recommended RNG backend

Since libvirt 1.3.4, any RNG source is accepted for the 'random'
backend.  However, '/dev/urandom' is the _recommended_ source of
entropy. Therefore we should mention that in the docs.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Kashyap Chamarthy 2018-06-22 12:09:39 +02:00 committed by Erik Skultety
parent a0d6894af1
commit a2913aed53
1 changed files with 10 additions and 6 deletions

View File

@ -7738,12 +7738,16 @@ qemu-kvm -net nic,model=? /dev/null
<dt><code>random</code></dt>
<dd>
<p>
This backend type expects a non-blocking character device as
input. The file name is specified as contents of the
<code>backend</code> element. <span class='since'>Since 1.3.4</span>
any path is accepted. Before that /dev/random and /dev/hwrng were
the only accepted paths. When no file name is specified the hypervisor
default is used. For qemu, the default is /dev/random
This backend type expects a non-blocking character device
as input. The file name is specified as contents of the
<code>backend</code> element. <span class='since'>Since
1.3.4</span> any path is accepted. Before that
<code>/dev/random</code> and <code>/dev/hwrng</code> were
the only accepted paths. When no file name is specified,
the hypervisor default is used. For QEMU, the default is
<code>/dev/random</code>. However, the recommended source
of entropy is <code>/dev/urandom</code> (as it doesn't
have the limitations of <code>/dev/random</code>).
</p>
</dd>
<dt><code>egd</code></dt>