Searched refs:all_opts (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | blockdev.c | 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() [all …]
|