[libvirt] [PATCH v2] doc: add storage format entries

Philipp Hahn posted 1 patch 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/7619ece0bb4d017e3ca49fa9c3a555c1cdde71fb.1487849026.git.hahn@univention.de
docs/storage.html.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
[libvirt] [PATCH v2] doc: add storage format entries
Posted by Philipp Hahn 7 years, 1 month ago
Add format/@type entries to examples to show what the text is talking
about.

Add missing blank.

Signed-off-by: Philipp Hahn <hahn@univention.de>
---
 docs/storage.html.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
This is a re-post from 2013-02-07, as ist still is unclear where the <type>
should go.

diff --git a/docs/storage.html.in b/docs/storage.html.in
index d81efdb..10b1f1f 100644
--- a/docs/storage.html.in
+++ b/docs/storage.html.in
@@ -195,6 +195,7 @@
   &lt;name&gt;virtimages&lt;/name&gt;
   &lt;source&gt;
     &lt;device path="/dev/VolGroup00/VirtImages"/&gt;
+    &lt;format type="auto"/&gt;
   &lt;/source&gt;
   &lt;target&gt;
     &lt;path&gt;/var/lib/virt/images&lt;/path&gt;
@@ -324,6 +325,7 @@
     &lt;device path="/dev/sda1"/&gt;
     &lt;device path="/dev/sdb1"/&gt;
     &lt;device path="/dev/sdc1"/&gt;
+    &lt;format type="lvm2"/&gt;
   &lt;/source&gt;
   &lt;target&gt;
     &lt;path&gt;/dev/HostVG&lt;/path&gt;
@@ -334,7 +336,7 @@
     <p>
       The logical volume pool supports only the <code>lvm2</code> format,
       although not supplying a format value will result in automatic
-      selection of the<code>lvm2</code> format.
+      selection of the <code>lvm2</code> format.
     </p>
 
     <h3>Valid volume format types</h3>
@@ -359,6 +361,7 @@
   &lt;name&gt;sda&lt;/name&gt;
   &lt;source&gt;
     &lt;device path='/dev/sda'/&gt;
+    &lt;format type='gpt'/&gt;
   &lt;/source&gt;
   &lt;target&gt;
     &lt;path&gt;/dev&lt;/path&gt;
-- 
2.1.4

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