diff options
author | Chunyan Liu <cyliu@suse.com> | 2014-06-05 17:20:51 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-16 17:23:20 +0800 |
commit | 83d0521a1e35989b0cb7235aef48455fedda3ca4 (patch) | |
tree | b500cdb1603182b7249a781712a1f058820d5b1b /block/vvfat.c | |
parent | 4782183da39ec988b8290bbc0289c9f50ba33ea4 (diff) |
change block layer to support both QemuOpts and QEMUOptionParamter
Change block layer to support both QemuOpts and QEMUOptionParameter.
After this patch, it will change backend drivers one by one. At the end,
QEMUOptionParameter will be removed and only QemuOpts is kept.
Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com>
Signed-off-by: Chunyan Liu <cyliu@suse.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/vvfat.c')
-rw-r--r-- | block/vvfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |