diff mbox

qcow2: Alignment of snapshot table entries

Message ID 1381307650-13799-1-git-send-email-mreitz@redhat.com
State New
Headers show

Commit Message

Max Reitz Oct. 9, 2013, 8:34 a.m. UTC
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>
---
 docs/specs/qcow2.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Kevin Wolf Oct. 9, 2013, 9:41 a.m. UTC | #1
Am 09.10.2013 um 10:34 hat Max Reitz geschrieben:
> 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>

Thanks, applied to the block branch.

Kevin
diff mbox

Patch

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 @@  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.