[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] docs: Define refcount_bits value
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] docs: Define refcount_bits value |
Date: |
Fri, 23 May 2014 07:45:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 05/23/2014 07:41 AM, Maria Kustova wrote:
> 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 <address@hidden>
> ---
> docs/specs/qcow2.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
>
> 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
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature