Document behavior of compat when creating qcow2 volumes

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

(cherry picked from commit 7c8ae42d49)
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Ján Tomko 2015-03-24 17:13:24 +01:00
parent f50385def5
commit 5b08842d96

View File

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