[libvirt] [PATCH 6/7] docs: Documents for virtio-rng backend builtin

Peter Krempa pkrempa at redhat.com
Mon Jan 6 10:20:35 UTC 2020


On Wed, Jan 01, 2020 at 13:06:36 +0800, Han Han wrote:
> Signed-off-by: Han Han <hhan at redhat.com>
> ---
>  docs/formatdomain.html.in     | 10 ++++++++++
>  docs/formatdomaincaps.html.in |  1 +
>  2 files changed, 11 insertions(+)

This should be part of the XML addition commit.

> 
> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index dd04a05f..31099889 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -8257,6 +8257,8 @@ qemu-kvm -net nic,model=? /dev/null
>        <source mode='bind' service='1234'/>
>        <source mode='connect' host='1.2.3.4' service='1234'/>
>      </backend>
> +    <!-- OR -->
> +    <backend model='builtin'/>
>    </rng>
>  </devices>
>  ...
> @@ -8321,6 +8323,14 @@ qemu-kvm -net nic,model=? /dev/null
>                for more information.
>              </p>
>            </dd>
> +          <dt><code>builtin</code></dt>
> +          <dd>
> +            <p>
> +              This backend uses qemu builtin random generator, which uses
> +              getrandom() syscall to generate random.
> +              (<span class="since">Since 6.0.0 and QEMU 4.2</span>)
> +            </p>
> +          </dd>
>          </dl>
>        </dd>
>        <dt><code>driver</code></dt>
> diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
> index 6bf7a1c1..aa4dece2 100644
> --- a/docs/formatdomaincaps.html.in
> +++ b/docs/formatdomaincaps.html.in
> @@ -481,6 +481,7 @@
>        <enum name='backendModel'>
>          <value>random</value>
>          <value>egd</value>
> +        <value>builtin</value>
>        </enum>
>      </rng>
>      ...
> -- 
> 2.23.0
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list