Lines Matching refs:qcow_opts
813 BlockdevCreateOptionsQcow *qcow_opts; in qcow_co_create() local
824 qcow_opts = &opts->u.qcow; in qcow_co_create()
827 total_size = qcow_opts->size; in qcow_co_create()
833 if (qcow_opts->encrypt && in qcow_co_create()
834 qcow_opts->encrypt->format != Q_CRYPTO_BLOCK_FORMAT_QCOW) in qcow_co_create()
841 bs = bdrv_co_open_blockdev_ref(qcow_opts->file, errp); in qcow_co_create()
861 if (qcow_opts->backing_file) { in qcow_co_create()
862 if (strcmp(qcow_opts->backing_file, "fat:")) { in qcow_co_create()
864 backing_filename_len = strlen(qcow_opts->backing_file); in qcow_co_create()
869 qcow_opts->backing_file = NULL; in qcow_co_create()
884 if (qcow_opts->encrypt) { in qcow_co_create()
887 crypto = qcrypto_block_create(qcow_opts->encrypt, "encrypt.", in qcow_co_create()
903 if (qcow_opts->backing_file) { in qcow_co_create()
905 qcow_opts->backing_file, 0); in qcow_co_create()