[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 1/8] block: add bdrv_measure() API
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [RFC v2 1/8] block: add bdrv_measure() API |
Date: |
Mon, 20 Mar 2017 15:34:21 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Sat, Mar 18, 2017 at 01:28:04AM +0000, Nir Soffer wrote:
> On Wed, Mar 15, 2017 at 11:29 AM Stefan Hajnoczi <address@hidden>
> wrote:
> > diff --git a/include/block/block.h b/include/block/block.h
> > index 5149260..43c789f 100644
> > --- a/include/block/block.h
> > +++ b/include/block/block.h
> > @@ -298,6 +298,10 @@ int bdrv_truncate(BdrvChild *child, int64_t offset);
> > int64_t bdrv_nb_sectors(BlockDriverState *bs);
> > int64_t bdrv_getlength(BlockDriverState *bs);
> > int64_t bdrv_get_allocated_file_size(BlockDriverState *bs);
> > +void bdrv_measure(BlockDriver *drv, QemuOpts *opts,
> > + BlockDriverState *in_bs,
> > + BlockMeasureInfo *info,
> >
>
> The struct declaration is missing in this patch, right?
BlockMeasureInfo is generated from qapi-schema.json during the build.
signature.asc
Description: PGP signature
- [Qemu-devel] [RFC v2 0/8] qemu-img: add measure sub-command, Stefan Hajnoczi, 2017/03/15
- [Qemu-devel] [RFC v2 2/8] raw-format: add bdrv_measure() support, Stefan Hajnoczi, 2017/03/15
- [Qemu-devel] [RFC v2 3/8] qcow2: extract preallocation calculation function, Stefan Hajnoczi, 2017/03/15
- [Qemu-devel] [RFC v2 5/8] qcow2: add bdrv_measure() support, Stefan Hajnoczi, 2017/03/15
- [Qemu-devel] [RFC v2 4/8] qcow2: extract image creation option parsing, Stefan Hajnoczi, 2017/03/15