diff options
Diffstat (limited to 'block/backup.c')
-rw-r--r-- | block/backup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/backup.c b/block/backup.c index cad14c90b2..830a179d6d 100644 --- a/block/backup.c +++ b/block/backup.c @@ -138,7 +138,8 @@ static int coroutine_fn backup_do_cow(BlockDriverState *bs, if (buffer_is_zero(iov.iov_base, iov.iov_len)) { ret = bdrv_co_write_zeroes(job->target, - start * BACKUP_SECTORS_PER_CLUSTER, n); + start * BACKUP_SECTORS_PER_CLUSTER, + n, 0); } else { ret = bdrv_co_writev(job->target, start * BACKUP_SECTORS_PER_CLUSTER, n, |