On Fri, Mar 03, 2017 at 11:56:54PM +0200, Nir Soffer wrote:
> On Fri, Mar 3, 2017 at 3:51 PM, Stefan Hajnoczi wrote:
> > +ret_size = bdrv_max_size(drv, opts, in_blk ? blk_bs(in_blk) : NULL,
> > + &local_err);
> > +if (local_err) {
> > +error_report_err(l
On Fri, Mar 3, 2017 at 3:51 PM, Stefan Hajnoczi wrote:
> The max-size subcommand calculates the maximum size required by a new
> image file. This can be used by users or management tools that need to
> allocate space on an LVM volume, SAN LUN, etc before creating or
> converting an image file.
>
The max-size subcommand calculates the maximum size required by a new
image file. This can be used by users or management tools that need to
allocate space on an LVM volume, SAN LUN, etc before creating or
converting an image file.
Suggested-by: Maor Lipchuk
Signed-off-by: Stefan Hajnoczi
---