diff options
Diffstat (limited to 'block-migration.c')
-rw-r--r-- | block-migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block-migration.c b/block-migration.c index daf9ec1eab..713a8e36e1 100644 --- a/block-migration.c +++ b/block-migration.c @@ -780,7 +780,7 @@ static int block_load(QEMUFile *f, void *opaque, int version_id) } if (flags & BLK_MIG_FLAG_ZERO_BLOCK) { - ret = bdrv_write_zeroes(bs, addr, nr_sectors); + ret = bdrv_write_zeroes(bs, addr, nr_sectors, 0); } else { buf = g_malloc(BLOCK_SIZE); qemu_get_buffer(f, buf, BLOCK_SIZE); |