summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Kustova <maxa@catit.be>2014-07-21 15:16:33 +0400
committerKevin Wolf <kwolf@redhat.com>2014-08-15 15:07:13 +0200
commit8e436ec1f307a01882fd9166477667370c9dbfff (patch)
tree8258932f89d3c90506b06daf5bc5c9ac2dd0a53f
parent52bf1e722d996d1accfc35e29283f172d003d9b2 (diff)
downloadqemu-8e436ec1f307a01882fd9166477667370c9dbfff.tar.gz
qemu-8e436ec1f307a01882fd9166477667370c9dbfff.tar.bz2
qemu-8e436ec1f307a01882fd9166477667370c9dbfff.zip
docs: Make the recommendation for the backing file name position a requirement
The current version of the qcow2 specification recommends to save the backing file name in the end of the first cluster. It follows that the backing file name can be saved somewhere in the image, but the first cluster, which contradicts the current QEMU implementation. The patch makes the backing file name required to be placed after the header extensions in the first image cluster. Signed-off-by: Maria Kustova <maria.k@catit.be> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--docs/specs/qcow2.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt
index 3f713a6447..cfbc8b070c 100644
--- a/docs/specs/qcow2.txt
+++ b/docs/specs/qcow2.txt
@@ -135,12 +135,12 @@ be stored. Each extension has a structure like the following:
Unless stated otherwise, each header extension type shall appear at most once
in the same image.
-The remaining space between the end of the header extension area and the end of
-the first cluster can be used for the backing file name. It is not allowed to
-store other data here, so that an implementation can safely modify the header
-and add extensions without harming data of compatible features that it
-doesn't support. Compatible features that need space for additional data can
-use a header extension.
+If the image has a backing file then the backing file name should be stored in
+the remaining space between the end of the header extension area and the end of
+the first cluster. It is not allowed to store other data here, so that an
+implementation can safely modify the header and add extensions without harming
+data of compatible features that it doesn't support. Compatible features that
+need space for additional data can use a header extension.
== Feature name table ==