diff options
Diffstat (limited to 'block/qed.c')
-rw-r--r-- | block/qed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/qed.c b/block/qed.c index adc2736dd7..59516a5704 100644 --- a/block/qed.c +++ b/block/qed.c @@ -1475,6 +1475,8 @@ static int bdrv_qed_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) memset(bdi, 0, sizeof(*bdi)); bdi->cluster_size = s->header.cluster_size; bdi->is_dirty = s->header.features & QED_F_NEED_CHECK; + bdi->unallocated_blocks_are_zero = true; + bdi->can_write_zeroes_with_unmap = true; return 0; } |