From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTpDo-0004Kf-5x for qemu-devel@nongnu.org; Wed, 09 Oct 2013 04:34:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTpDi-0004w8-70 for qemu-devel@nongnu.org; Wed, 09 Oct 2013 04:34:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTpDh-0004vv-V9 for qemu-devel@nongnu.org; Wed, 09 Oct 2013 04:34:14 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r998YDT1031285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 9 Oct 2013 04:34:13 -0400 From: Max Reitz Date: Wed, 9 Oct 2013 10:34:10 +0200 Message-Id: <1381307650-13799-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH] qcow2: Alignment of snapshot table entries List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz 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 --- docs/specs/qcow2.txt | 3 +++ 1 file changed, 3 insertions(+) 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. -- 1.8.3.1