summary refs log tree commit diff stats
path: root/docs/specs
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-10-09 10:34:10 +0200
committerKevin Wolf <kwolf@redhat.com>2013-10-11 16:49:58 +0200
commitf252080453ec081ba653bba4e0c1ca86c52cf19f (patch)
tree309a46c28a95e53779247e42a55b57b93541a3a5 /docs/specs
parent3677e6f6252542cbab85674d97d051d95e91693b (diff)
downloadfocaccia-qemu-f252080453ec081ba653bba4e0c1ca86c52cf19f.tar.gz
focaccia-qemu-f252080453ec081ba653bba4e0c1ca86c52cf19f.zip
qcow2: Alignment of snapshot table entries
The qcow2 specification does not explicitly state so far that every
snapshot table entry is aligned to 8 bytes. QEMU, in contrast, does this
alignment, thus it should be properly documented (which this patch
does).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'docs/specs')
-rw-r--r--docs/specs/qcow2.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt
index 33eca360cc..f19536a46f 100644
--- a/docs/specs/qcow2.txt
+++ b/docs/specs/qcow2.txt
@@ -355,3 +355,6 @@ Snapshot table entry:
         variable:   Unique ID string for the snapshot (not null terminated)
 
         variable:   Name of the snapshot (not null terminated)
+
+        variable:   Padding to round up the snapshot table entry size to the
+                    next multiple of 8.