Re: [Qemu-devel] [RFC v2 3/8] qcow2: extract preallocation calculation function

2017-03-15 Thread Stefan Hajnoczi
On Thu, Mar 16, 2017 at 02:18:36AM +0100, Max Reitz wrote: > On 15.03.2017 10:29, Stefan Hajnoczi wrote: > > Calculating the preallocated image size will be needed to implement > > .bdrv_measure(). Extract the code out into a separate function. > > > > Signed-off-by: Stefan Hajnoczi > > --- > >

Re: [Qemu-devel] [RFC v2 3/8] qcow2: extract preallocation calculation function

2017-03-15 Thread Max Reitz
On 15.03.2017 10:29, Stefan Hajnoczi wrote: > Calculating the preallocated image size will be needed to implement > .bdrv_measure(). Extract the code out into a separate function. > > Signed-off-by: Stefan Hajnoczi > --- > block/qcow2.c | 134 > +

[Qemu-devel] [RFC v2 3/8] qcow2: extract preallocation calculation function

2017-03-15 Thread Stefan Hajnoczi
Calculating the preallocated image size will be needed to implement .bdrv_measure(). Extract the code out into a separate function. Signed-off-by: Stefan Hajnoczi --- block/qcow2.c | 134 +- 1 file changed, 76 insertions(+), 58 deletions(-