On 08/06/2015 09:10 AM, Alberto Garcia wrote:
> On Mon 27 Jul 2015 05:51:38 PM CEST, Max Reitz wrote:
>
>> +if (refcount_bits <= 0 || refcount_bits > 64 ||
>> +!is_power_of_2(refcount_bits))
>> +{
>> +error_report("Refcount width must be a po
On Mon 27 Jul 2015 05:51:38 PM CEST, Max Reitz wrote:
> +if (refcount_bits <= 0 || refcount_bits > 64 ||
> +!is_power_of_2(refcount_bits))
> +{
> +error_report("Refcount width must be a power of two and may "
> + "
On 07/27/2015 09:51 AM, Max Reitz wrote:
> Make use of qcow2_change_refcount_order() to support changing the
> refcount order with qemu-img amend.
>
> Signed-off-by: Max Reitz
> ---
> block/qcow2.c | 44 +++-
> 1 file changed, 35 insertions(+), 9 deletions
Make use of qcow2_change_refcount_order() to support changing the
refcount order with qemu-img amend.
Signed-off-by: Max Reitz
---
block/qcow2.c | 44 +++-
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index 8