Re: [Qemu-devel] [PATCH v2 10/21] qcow2: refcount_order parameter for qcow2_create2

2014-11-15 Thread Eric Blake
On 11/14/2014 06:06 AM, Max Reitz wrote: > Add a refcount_order parameter to qcow2_create2(), use that value for > the image header and for calculating the size required for > preallocation. > > For now, always pass 4. > > Signed-off-by: Max Reitz > --- > block/qcow2.c | 41

[Qemu-devel] [PATCH v2 10/21] qcow2: refcount_order parameter for qcow2_create2

2014-11-14 Thread Max Reitz
Add a refcount_order parameter to qcow2_create2(), use that value for the image header and for calculating the size required for preallocation. For now, always pass 4. Signed-off-by: Max Reitz --- block/qcow2.c | 41 ++--- 1 file changed, 30 insertions(+), 11