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

Han Han posted 7 patches 6 years, 1 month ago
[libvirt] [PATCH 6/7] docs: Documents for virtio-rng backend builtin
Posted by Han Han 6 years, 1 month ago
Signed-off-by: Han Han <hhan@redhat.com>
---
 docs/formatdomain.html.in     | 10 ++++++++++
 docs/formatdomaincaps.html.in |  1 +
 2 files changed, 11 insertions(+)

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
       &lt;source mode='bind' service='1234'/&gt;
       &lt;source mode='connect' host='1.2.3.4' service='1234'/&gt;
     &lt;/backend&gt;
+    &lt;!-- OR --&gt;
+    &lt;backend model='builtin'/&gt;
   &lt;/rng&gt;
 &lt;/devices&gt;
 ...
@@ -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 @@
       &lt;enum name='backendModel'&gt;
         &lt;value&gt;random&lt;/value&gt;
         &lt;value&gt;egd&lt;/value&gt;
+        &lt;value&gt;builtin&lt;/value&gt;
       &lt;/enum&gt;
     &lt;/rng&gt;
     ...
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 6/7] docs: Documents for virtio-rng backend builtin
Posted by Peter Krempa 6 years, 1 month ago
On Wed, Jan 01, 2020 at 13:06:36 +0800, Han Han wrote:
> Signed-off-by: Han Han <hhan@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
>        &lt;source mode='bind' service='1234'/&gt;
>        &lt;source mode='connect' host='1.2.3.4' service='1234'/&gt;
>      &lt;/backend&gt;
> +    &lt;!-- OR --&gt;
> +    &lt;backend model='builtin'/&gt;
>    &lt;/rng&gt;
>  &lt;/devices&gt;
>  ...
> @@ -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 @@
>        &lt;enum name='backendModel'&gt;
>          &lt;value&gt;random&lt;/value&gt;
>          &lt;value&gt;egd&lt;/value&gt;
> +        &lt;value&gt;builtin&lt;/value&gt;
>        &lt;/enum&gt;
>      &lt;/rng&gt;
>      ...
> -- 
> 2.23.0
> 
> --
> libvir-list mailing list
> libvir-list@redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list