From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnrcW-0005sS-SA for qemu-devel@nongnu.org; Fri, 23 May 2014 11:43:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnrcR-0006JN-3x for qemu-devel@nongnu.org; Fri, 23 May 2014 11:42:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnrcQ-0006Is-RT for qemu-devel@nongnu.org; Fri, 23 May 2014 11:42:51 -0400 From: Stefan Hajnoczi Date: Fri, 23 May 2014 17:41:46 +0200 Message-Id: <1400859725-31879-15-git-send-email-stefanha@redhat.com> In-Reply-To: <1400859725-31879-1-git-send-email-stefanha@redhat.com> References: <1400859725-31879-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PULL 14/33] docs: Define refcount_bits value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Maria Kustova , Maria Kustova , Stefan Hajnoczi From: Maria Kustova The 'refcount_bits' term used in the description of refcount block entry is not defined in the specification. The definition is added in the 'refcount_order' section where refcount_bits was used as 'width in bits'. Signed-off-by: Maria Kustova Reviewed-by: Eric Blake Signed-off-by: Stefan Hajnoczi --- docs/specs/qcow2.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt index f19536a..3f713a6 100644 --- a/docs/specs/qcow2.txt +++ b/docs/specs/qcow2.txt @@ -107,8 +107,9 @@ in the description of a field. 96 - 99: refcount_order Describes the width of a reference count block entry (width - in bits = 1 << refcount_order). For version 2 images, the - order is always assumed to be 4 (i.e. the width is 16 bits). + in bits: refcount_bits = 1 << refcount_order). For version 2 + images, the order is always assumed to be 4 + (i.e. refcount_bits = 16). 100 - 103: header_length Length of the header structure in bytes. For version 2 -- 1.9.0