Searched refs:vpc_opts (Results 1 – 1 of 1) sorted by relevance
916 static int calculate_rounded_image_size(BlockdevCreateOptionsVpc *vpc_opts, in calculate_rounded_image_size() argument923 int64_t total_size = vpc_opts->size; in calculate_rounded_image_size()939 if (vpc_opts->force_size) { in calculate_rounded_image_size()975 BlockdevCreateOptionsVpc *vpc_opts; in vpc_co_create() local990 vpc_opts = &opts->u.vpc; in vpc_co_create()993 total_size = vpc_opts->size; in vpc_co_create()995 if (!vpc_opts->has_subformat) { in vpc_co_create()996 vpc_opts->subformat = BLOCKDEV_VPC_SUBFORMAT_DYNAMIC; in vpc_co_create()998 switch (vpc_opts->subformat) { in vpc_co_create()1010 bs = bdrv_co_open_blockdev_ref(vpc_opts->file, errp); in vpc_co_create()[all …]