Re: [Qemu-devel] [RFC v2 2/8] raw-format: add bdrv_measure() support

2017-03-17 Thread Nir Soffer
On Wed, Mar 15, 2017 at 11:29 AM Stefan Hajnoczi wrote: > Maximum size calculation is trivial for the raw format: it's just the > requested image size (because there is no metadata). > > Signed-off-by: Stefan Hajnoczi > --- > block/raw-format.c | 22

[Qemu-devel] [RFC v2 2/8] raw-format: add bdrv_measure() support

2017-03-15 Thread Stefan Hajnoczi
Maximum size calculation is trivial for the raw format: it's just the requested image size (because there is no metadata). Signed-off-by: Stefan Hajnoczi --- block/raw-format.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/block/raw-format.c