Lines Matching refs:all_opts
775 DriveInfo *drive_new(QemuOpts *all_opts, BlockInterfaceType block_default_type, in drive_new() argument
823 if (!qemu_opt_rename(all_opts, opt_renames[i].from, in drive_new()
829 value = qemu_opt_get(all_opts, "cache"); in drive_new()
840 if (!qemu_opt_get(all_opts, BDRV_OPT_CACHE_WB)) { in drive_new()
841 qemu_opt_set_bool(all_opts, BDRV_OPT_CACHE_WB, in drive_new()
844 if (!qemu_opt_get(all_opts, BDRV_OPT_CACHE_DIRECT)) { in drive_new()
845 qemu_opt_set_bool(all_opts, BDRV_OPT_CACHE_DIRECT, in drive_new()
848 if (!qemu_opt_get(all_opts, BDRV_OPT_CACHE_NO_FLUSH)) { in drive_new()
849 qemu_opt_set_bool(all_opts, BDRV_OPT_CACHE_NO_FLUSH, in drive_new()
852 qemu_opt_unset(all_opts, "cache"); in drive_new()
857 qemu_opts_to_qdict(all_opts, bs_opts); in drive_new()
946 if (qemu_opts_id(all_opts) == NULL) { in drive_new()
1014 dinfo->opts = all_opts; in drive_new()