]> xenbits.xensource.com Git - libvirt.git/commitdiff
Document behavior of compat when creating qcow2 volumes
authorJán Tomko <jtomko@redhat.com>
Tue, 24 Mar 2015 16:13:24 +0000 (17:13 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 24 Mar 2015 17:07:00 +0000 (18:07 +0100)
Commit bab2eda changed the behavior for missing compat attribute,
but failed to update the documentation.

Before, the option was omitted from qemu-img command line and the
qemu-img default was used. Now we always specify the compat value
and the default is 0.10.

Reported by Christophe Fergeau
https://bugzilla.gnome.org/show_bug.cgi?id=746660#c4

docs/formatstorage.html.in

index d2e2bb83bd6630ca44c36ced3d3b996f0289636e..9c7b1bd204b8570250b45adba9e6d679f5d3fe2e 100644 (file)
         <code>type='qcow2'</code> volumes. Valid values are <code>0.10</code>
         and <code>1.1</code> so far, specifying QEMU version the images should
         be compatible with. If the <code>feature</code> element is present,
-        1.1 is used. If omitted, qemu-img default is used.
-        <span class="since">Since 1.1.0</span>
+        1.1 is used.
+        <span class="since">Since 1.1.0</span> If omitted, 0.10 is used.
+        <span class="since">Since 1.1.2</span>
       </dd>
       <dt><code>nocow</code></dt>
       <dd>Turn off COW of the newly created volume. So far, this is only valid