[PATCH 12/29] docs: Convert 'drvvirtuozzo' page to rST

Peter Krempa pkrempa at redhat.com
Mon Mar 28 12:10:27 UTC 2022


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/drvvirtuozzo.html.in | 70 ---------------------------------------
 docs/drvvirtuozzo.rst     | 60 +++++++++++++++++++++++++++++++++
 docs/meson.build          |  2 +-
 3 files changed, 61 insertions(+), 71 deletions(-)
 delete mode 100644 docs/drvvirtuozzo.html.in
 create mode 100644 docs/drvvirtuozzo.rst

diff --git a/docs/drvvirtuozzo.html.in b/docs/drvvirtuozzo.html.in
deleted file mode 100644
index e47f72bad1..0000000000
--- a/docs/drvvirtuozzo.html.in
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <body>
-    <h1>Virtuozzo driver</h1>
-    <ul id="toc"></ul>
-    <p>
-        The libvirt vz driver can manage Virtuozzo starting from version 6.0.
-    </p>
-
-
-    <h2><a id="project">Project Links</a></h2>
-    <ul>
-      <li>
-        The <a href="https://www.virtuozzo.com/">Virtuozzo</a> Solution.
-      </li>
-    </ul>
-
-
-    <h2><a id="uri">Connections to the Virtuozzo driver</a></h2>
-    <p>
-        The libvirt Virtuozzo driver is a single-instance privileged driver, with a driver name of 'virtuozzo'. Some example connection URIs for the libvirt driver are:
-    </p>
-<pre>
-vz:///system                     (local access)
-vz+unix:///system                (local access)
-vz://example.com/system          (remote access, TLS/x509)
-vz+tcp://example.com/system      (remote access, SASl/Kerberos)
-vz+ssh://root@example.com/system (remote access, SSH tunnelled)
-</pre>
-
-    <h2><a id="example">Example guest domain XML configuration</a></h2>
-
-    <p>
-    Virtuozzo driver require at least one hard disk for new domains
-    at this time. It is used for defining directory, where VM should
-    be created.
-    </p>
-
-<pre>
-<domain type='vz'>
-  <name>demo</name>
-  <uuid>54cdecad-4492-4e31-a209-33cc21d64057</uuid>
-  <description>some description</description>
-  <memory unit='KiB'>1048576</memory>
-  <currentMemory unit='KiB'>1048576</currentMemory>
-  <vcpu placement='static'>2</vcpu>
-  <os>
-    <type arch='x86_64'>hvm</type>
-  </os>
-  <clock offset='utc'/>
-  <on_poweroff>destroy</on_poweroff>
-  <on_reboot>destroy</on_reboot>
-  <on_crash>destroy</on_crash>
-  <devices>
-    <disk type='file' device='disk'>
-      <source file='/storage/vol1'/>
-      <target dev='hda'/>
-    </disk>
-    <video>
-      <model type='vga' vram='33554432' heads='1'>
-        <acceleration accel3d='no' accel2d='no'/>
-      </model>
-    </video>
-  </devices>
-</domain>
-
-</pre>
-
-</body></html>
diff --git a/docs/drvvirtuozzo.rst b/docs/drvvirtuozzo.rst
new file mode 100644
index 0000000000..fbb6ab0e71
--- /dev/null
+++ b/docs/drvvirtuozzo.rst
@@ -0,0 +1,60 @@
+================
+Virtuozzo driver
+================
+
+The libvirt vz driver can manage Virtuozzo starting from version 6.0.
+
+Project Links
+-------------
+
+-  The `Virtuozzo <https://www.virtuozzo.com/>`__ Solution.
+
+Connections to the Virtuozzo driver
+-----------------------------------
+
+The libvirt Virtuozzo driver is a single-instance privileged driver, with a
+driver name of 'virtuozzo'. Some example connection URIs for the libvirt driver
+are:
+
+::
+
+   vz:///system                     (local access)
+   vz+unix:///system                (local access)
+   vz://example.com/system          (remote access, TLS/x509)
+   vz+tcp://example.com/system      (remote access, SASl/Kerberos)
+   vz+ssh://root@example.com/system (remote access, SSH tunnelled)
+
+Example guest domain XML configuration
+--------------------------------------
+
+Virtuozzo driver require at least one hard disk for new domains at this time. It
+is used for defining directory, where VM should be created.
+
+::
+
+   <domain type='vz'>
+     <name>demo</name>
+     <uuid>54cdecad-4492-4e31-a209-33cc21d64057</uuid>
+     <description>some description</description>
+     <memory unit='KiB'>1048576</memory>
+     <currentMemory unit='KiB'>1048576</currentMemory>
+     <vcpu placement='static'>2</vcpu>
+     <os>
+       <type arch='x86_64'>hvm</type>
+     </os>
+     <clock offset='utc'/>
+     <on_poweroff>destroy</on_poweroff>
+     <on_reboot>destroy</on_reboot>
+     <on_crash>destroy</on_crash>
+     <devices>
+       <disk type='file' device='disk'>
+         <source file='/storage/vol1'/>
+         <target dev='hda'/>
+       </disk>
+       <video>
+         <model type='vga' vram='33554432' heads='1'>
+           <acceleration accel3d='no' accel2d='no'/>
+         </model>
+       </video>
+     </devices>
+   </domain>
diff --git a/docs/meson.build b/docs/meson.build
index 954c4e4b96..99732f57ba 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -22,7 +22,6 @@ docs_html_in_files = [
   'csharp',
   'dbus',
   'docs',
-  'drvvirtuozzo',
   'drvvmware',
   'drvxen',
   'firewall',
@@ -81,6 +80,7 @@ docs_rst_files = [
   'drvsecret',
   'drvtest',
   'drvvbox',
+  'drvvirtuozzo',
   'errors',
   'formatbackup',
   'formatcheckpoint',
-- 
2.35.1



More information about the libvir-list mailing list