diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/cow.c | 2 | ||||
-rw-r--r-- | block/qcow.c | 2 | ||||
-rw-r--r-- | block/qcow2.c | 2 | ||||
-rw-r--r-- | block/qed.c | 2 | ||||
-rw-r--r-- | block/raw_bsd.c | 2 | ||||
-rw-r--r-- | block/vhdx.c | 2 | ||||
-rw-r--r-- | block/vmdk.c | 4 | ||||
-rw-r--r-- | block/vvfat.c | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/block/cow.c b/block/cow.c index 164759f3a3..7e610249f0 100644 --- a/block/cow.c +++ b/block/cow.c @@ -345,7 +345,7 @@ static int cow_create(const char *filename, QEMUOptionParameter *options, options++; } - ret = bdrv_create_file(filename, options, &local_err); + ret = bdrv_create_file(filename, options, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); return ret; diff --git a/block/qcow.c b/block/qcow.c index 7fd57d744a..32651ebc24 100644 --- a/block/qcow.c +++ b/block/qcow.c @@ -718,7 +718,7 @@ static int qcow_create(const char *filename, QEMUOptionParameter *options, options++; } - ret = bdrv_create_file(filename, options, &local_err); + ret = bdrv_create_file(filename, options, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); return ret; diff --git a/block/qcow2.c b/block/qcow2.c index a54d2ba897..6b95a7f3bd 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1626,7 +1626,7 @@ static int qcow2_create2(const char *filename, int64_t total_size, Error *local_err = NULL; int ret; - ret = bdrv_create_file(filename, options, &local_err); + ret = bdrv_create_file(filename, options, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); return ret; diff --git a/block/qed.c b/block/qed.c index 79f5bd392a..9826ad8022 100644 --- a/block/qed.c +++ b/block/qed.c @@ -586,7 +586,7 @@ static int qed_create(const char *filename, uint32_t cluster_size, int ret = 0; BlockDriverState *bs; - ret = bdrv_create_file(filename, NULL, &local_err); + ret = bdrv_create_file(filename, NULL, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); return ret; diff --git a/block/raw_bsd.c b/block/raw_bsd.c index 01ea692a46..9ae5fc21d4 100644 --- a/block/raw_bsd.c +++ b/block/raw_bsd.c @@ -145,7 +145,7 @@ static int raw_create(const char *filename, QEMUOptionParameter *options, Error *local_err = NULL; int ret; - ret = bdrv_create_file(filename, options, &local_err); + ret = bdrv_create_file(filename, options, NULL, &local_err); if (local_err) { error_propagate(errp, local_err); } diff --git a/block/vhdx.c b/block/vhdx.c index 353c74d35f..ca7d533948 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -1803,7 +1803,7 @@ static int vhdx_create(const char *filename, QEMUOptionParameter *options, block_size = block_size > VHDX_BLOCK_SIZE_MAX ? VHDX_BLOCK_SIZE_MAX : block_size; - ret = bdrv_create_file(filename, options, &local_err); + ret = bdrv_create_file(filename, options, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); goto exit; diff --git a/block/vmdk.c b/block/vmdk.c index b8a476278a..b653f5ecef 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -1539,7 +1539,7 @@ static int vmdk_create_extent(const char *filename, int64_t filesize, uint32_t *gd_buf = NULL; int gd_buf_size; - ret = bdrv_create_file(filename, NULL, &local_err); + ret = bdrv_create_file(filename, NULL, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); goto exit; @@ -1879,7 +1879,7 @@ static int vmdk_create(const char *filename, QEMUOptionParameter *options, if (!split && !flat) { desc_offset = 0x200; } else { - ret = bdrv_create_file(filename, options, &local_err); + ret = bdrv_create_file(filename, options, NULL, &local_err); if (ret < 0) { error_propagate(errp, local_err); goto exit; diff --git a/block/vvfat.c b/block/vvfat.c index 3cda19f2f3..d895582030 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -2930,7 +2930,7 @@ static int enable_write_target(BDRVVVFATState *s, Error **errp) set_option_parameter_int(options, BLOCK_OPT_SIZE, s->sector_count * 512); set_option_parameter(options, BLOCK_OPT_BACKING_FILE, "fat:"); - ret = bdrv_create(bdrv_qcow, s->qcow_filename, options, errp); + ret = bdrv_create(bdrv_qcow, s->qcow_filename, options, NULL, errp); free_option_parameters(options); if (ret < 0) { goto err; |