From: Max Reitz Date: Wed, 9 Oct 2013 08:34:10 +0000 (+0200) Subject: qcow2: Alignment of snapshot table entries X-Git-Tag: qemu-xen-4.5.0-rc1~425^2~51 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f252080453ec081ba653bba4e0c1ca86c52cf19f;p=qemu-upstream-4.5-testing.git 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 Signed-off-by: Kevin Wolf --- diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt index 33eca360c..f19536a46 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.