diff options
Diffstat (limited to 'block/vhdx.c')
-rw-r--r-- | block/vhdx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/block/vhdx.c b/block/vhdx.c index ed6fa53b87..67bbe103a1 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -1049,6 +1049,9 @@ static int vhdx_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) bdi->cluster_size = s->block_size; + bdi->unallocated_blocks_are_zero = + (s->params.data_bits & VHDX_PARAMS_HAS_PARENT) == 0; + return 0; } |