Message ID | 20190402124907.24421-3-kwolf@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [PULL,1/9] iotests: Fix test 200 on s390x without virtio-pci | expand |
diff --git a/qemu-img.c b/qemu-img.c index 76a961df82..aa6f81f1ea 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -1756,7 +1756,8 @@ static int coroutine_fn convert_co_write(ImgConvertState *s, int64_t sector_num, } ret = blk_co_pwrite_zeroes(s->target, sector_num << BDRV_SECTOR_BITS, - n << BDRV_SECTOR_BITS, 0); + n << BDRV_SECTOR_BITS, + BDRV_REQ_MAY_UNMAP); if (ret < 0) { return ret; }