Skip to content

Commit

Permalink
docs: Define refcount_bits value
Browse files Browse the repository at this point in the history
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 <maria.k@catit.be>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
  • Loading branch information
Maria Kustova authored and stefanhaRH committed May 28, 2014
1 parent ce78293 commit 6815bce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/specs/qcow2.txt
Expand Up @@ -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
Expand Down

0 comments on commit 6815bce

Please sign in to comment.