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

Han Han hhan at redhat.com
Wed Jan 1 05:06:36 UTC 2020


Signed-off-by: Han Han <hhan at 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
       <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




More information about the libvir-list mailing list