docs/qcow2: Limit refcount_order to [0, 6]
commit7f75a07d50710e7f1371c4b248e0550549f77ead
authorMax Reitz <mreitz@redhat.com>
Tue, 2 Sep 2014 22:25:09 +0000 (3 00:25 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 23 Oct 2014 13:34:02 +0000 (23 15:34 +0200)
treef2ad191552ce745c145c0e07dce6c01aad1f2fb7
parent4b318d6ca66545e59eafbf595f66e31bf1625d9a
docs/qcow2: Limit refcount_order to [0, 6]

Specify the upper limit of refcount_order to be 6 (that is,
refcount_bits = 64). Any larger value does not make much sense when all
offsets, sizes, cluster counts etc. "only" have a width of 64 bit as
well, and very large values would be very difficult to support.
Therefore, just cap it at the largest reasonable value.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
docs/specs/qcow2.txt