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>
diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt index 33eca36..f19536a 100644 --- a/docs/specs/qcow2.txt +++ b/docs/specs/qcow2.txt
@@ -355,3 +355,6 @@ 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.