Re: [Qemu-block] [PATCH v4 3/4] block: remove bdrv_truncate callback in blkdebug

2017-07-12 Thread Stefan Hajnoczi
On Tue, Jul 11, 2017 at 07:37:47PM +0300, Manos Pitsidianakis wrote: > Now that bdrv_truncate is passed to bs->file by default, remove the > callback from block/blkdebug.c and set is_filter to true. > > Signed-off-by: Manos Pitsidianakis > --- > block/blkdebug.c | 7 +-- > 1 file changed, 1

Re: [Qemu-block] [PATCH v4 3/4] block: remove bdrv_truncate callback in blkdebug

2017-07-11 Thread Eric Blake
On 07/11/2017 11:37 AM, Manos Pitsidianakis wrote: > Now that bdrv_truncate is passed to bs->file by default, remove the > callback from block/blkdebug.c and set is_filter to true. This also automatically gives blkdebug access to bdrv_probe_blocksizes bdrv_probe_geometry bdrv_has_zero_init bdrv_g

[Qemu-block] [PATCH v4 3/4] block: remove bdrv_truncate callback in blkdebug

2017-07-11 Thread Manos Pitsidianakis
Now that bdrv_truncate is passed to bs->file by default, remove the callback from block/blkdebug.c and set is_filter to true. Signed-off-by: Manos Pitsidianakis --- block/blkdebug.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/block/blkdebug.c b/block/blkdebug.c inde