Re: [Qemu-devel] [PATCH v8 1/9] block: add bdrv_measure() API

2017-06-30 Thread Max Reitz
On 2017-06-14 17:35, Stefan Hajnoczi wrote: > bdrv_measure() provides a conservative maximum for the size of a new > image. This information is handy if storage needs to be allocated (e.g. > a SAN or an LVM volume) ahead of time. > > Signed-off-by: Stefan Hajnoczi > Reviewed-by: Alberto Garcia

[Qemu-devel] [PATCH v8 1/9] block: add bdrv_measure() API

2017-06-14 Thread Stefan Hajnoczi
bdrv_measure() provides a conservative maximum for the size of a new image. This information is handy if storage needs to be allocated (e.g. a SAN or an LVM volume) ahead of time. Signed-off-by: Stefan Hajnoczi Reviewed-by: Alberto Garcia --- v6: * Change bdrv_measure() return type to BlockMea