Lines Matching refs:group

2172 static bool is_qemuopts_group(const char *group)  in is_qemuopts_group()  argument
2174 if (g_str_equal(group, "object") || in is_qemuopts_group()
2175 g_str_equal(group, "audiodev") || in is_qemuopts_group()
2176 g_str_equal(group, "machine") || in is_qemuopts_group()
2177 g_str_equal(group, "smp-opts") || in is_qemuopts_group()
2178 g_str_equal(group, "boot-opts")) { in is_qemuopts_group()
2184 static void qemu_record_config_group(const char *group, QDict *dict, in qemu_record_config_group() argument
2187 if (g_str_equal(group, "object")) { in qemu_record_config_group()
2192 } else if (g_str_equal(group, "audiodev")) { in qemu_record_config_group()
2200 } else if (g_str_equal(group, "machine")) { in qemu_record_config_group()
2207 } else if (g_str_equal(group, "smp-opts")) { in qemu_record_config_group()
2209 } else if (g_str_equal(group, "boot-opts")) { in qemu_record_config_group()
2220 static void qemu_parse_config_group(const char *group, QDict *qdict, in qemu_parse_config_group() argument
2224 if (is_qemuopts_group(group)) { in qemu_parse_config_group()
2225 qemu_config_do_parse(group, qdict, opaque, errp); in qemu_parse_config_group()
2235 qemu_record_config_group(group, qobject_to(QDict, crumpled), false, errp); in qemu_parse_config_group()
2263 char group[64], id[64], arg[64]; in qemu_set_option() local
2268 rc = sscanf(str, "%63[^.].%63[^.].%63[^=]%n", group, id, arg, &offset); in qemu_set_option()
2274 if (!is_qemuopts_group(group)) { in qemu_set_option()
2275 error_setg(errp, "-set is not supported with %s", group); in qemu_set_option()
2277 list = qemu_find_opts_err(group, errp); in qemu_set_option()
2281 error_setg(errp, "there is no %s \"%s\" defined", group, id); in qemu_set_option()