qcow2: Alignment of snapshot table entries
authorMax Reitz <mreitz@redhat.com>
Wed, 9 Oct 2013 08:34:10 +0000 (10:34 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2013 14:49:58 +0000 (16:49 +0200)
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>
docs/specs/qcow2.txt

index 33eca360cc71231bfde6a8114953ddc49e581202..f19536a46faa2155022d5bd57b8f17aecae96cce 100644 (file)
@@ -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.