Skip to contentSkip to conversation

qcow2: Alignment of snapshot table entries

PATCH Applied Max Reitz 2 participants 2 messages Oct 9, 2013

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

PATCH 1/1 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).

---
 docs/specs/qcow2.txt | 3 +++
 1 file changed, 3 insertions(+)
docs/specs/qcow2.txt +3 -0
index 33eca36..f19536a 100644
@@ -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.
Signature · 1 line
1.8.3.1
Applied
#1 lore raw

Am 09.10.2013 um 10:34 hat Max Reitz geschrieben:

Quoted 6 lines

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

Thanks, applied to the block branch.

Kevin