]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
storage: Fix logical pool fmt type
authorErik Skultety <eskultet@redhat.com>
Thu, 25 Sep 2014 14:26:18 +0000 (16:26 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 29 Sep 2014 09:59:09 +0000 (05:59 -0400)
According to our documentation logical pool supports formats 'auto' and
'lvm2'. However, in storage_conf.c we previously defined storage pool
formats: unknown, lvm2. Due to backward compatibility reasons
we must continue refer to pool format type 'unknown' instead of 'auto'.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1123767

docs/schemas/storagepool.rng
docs/storage.html.in

index 2d165a3493318bf7e99809009bc914913a8f86c9..0f05c5cc5f3e02f5e3e62331c1e1a7fc48b69ae0 100644 (file)
       <element name='format'>
         <attribute name='type'>
           <choice>
-            <value>auto</value>
+            <value>unknown</value> <!-- back-compat requires keeping 'unknown' not 'auto' -->
             <value>lvm2</value>
           </choice>
         </attribute>
index 3d2ffcaafb63dd041f660fb6998423fdb7ae3fa1..9933548f7c92e7db5822b411694c70bc01bee93e 100644 (file)
 
     <h3>Valid pool format types</h3>
     <p>
-      The logical volume pool supports the following formats:
+      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.
     </p>
-    <ul>
-      <li><code>auto</code> - automatically determine format</li>
-      <li>
-        <code>lvm2</code>
-      </li>
-    </ul>
 
     <h3>Valid volume format types</h3>
     <p>