diff options
Diffstat (limited to 'block/raw_bsd.c')
-rw-r--r-- | block/raw_bsd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/raw_bsd.c b/block/raw_bsd.c index 1a1618ef07..3385ed448d 100644 --- a/block/raw_bsd.c +++ b/block/raw_bsd.c @@ -205,6 +205,7 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags, { bs->sg = bs->file->bs->sg; bs->supported_write_flags = BDRV_REQ_FUA; + bs->supported_zero_flags = BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP; if (bs->probed && !bdrv_is_read_only(bs)) { fprintf(stderr, |