From 6815bce5421ddb4987cd98d0146baf65200eabcd Mon Sep 17 00:00:00 2001 From: Maria Kustova Date: Fri, 23 May 2014 17:41:29 +0400 Subject: docs: Define refcount_bits value 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(-) (limited to 'docs/specs') diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt index f19536a46f..3f713a6447 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 -- cgit v1.2.3