diff options
Diffstat (limited to 'block/qed.c')
-rw-r--r-- | block/qed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/qed.c b/block/qed.c index 59516a5704..450a1fa2e9 100644 --- a/block/qed.c +++ b/block/qed.c @@ -495,6 +495,7 @@ static int bdrv_qed_open(BlockDriverState *bs, QDict *options, int flags, } } + bs->bl.write_zeroes_alignment = s->header.cluster_size >> BDRV_SECTOR_BITS; s->need_check_timer = timer_new_ns(QEMU_CLOCK_VIRTUAL, qed_need_check_timer_cb, s); |