Lines Matching full:smp

2  * QEMU Machine core (related to -smp parsing)
37 g_string_append_printf(s, "drawers (%u) * ", ms->smp.drawers); in cpu_hierarchy_to_string()
41 g_string_append_printf(s, "books (%u) * ", ms->smp.books); in cpu_hierarchy_to_string()
44 g_string_append_printf(s, "sockets (%u)", ms->smp.sockets); in cpu_hierarchy_to_string()
47 g_string_append_printf(s, " * dies (%u)", ms->smp.dies); in cpu_hierarchy_to_string()
51 g_string_append_printf(s, " * clusters (%u)", ms->smp.clusters); in cpu_hierarchy_to_string()
55 g_string_append_printf(s, " * modules (%u)", ms->smp.modules); in cpu_hierarchy_to_string()
58 g_string_append_printf(s, " * cores (%u)", ms->smp.cores); in cpu_hierarchy_to_string()
59 g_string_append_printf(s, " * threads (%u)", ms->smp.threads); in cpu_hierarchy_to_string()
66 * SMP configuration
215 ms->smp.cpus = cpus; in machine_parse_smp_config()
216 ms->smp.drawers = drawers; in machine_parse_smp_config()
217 ms->smp.books = books; in machine_parse_smp_config()
218 ms->smp.sockets = sockets; in machine_parse_smp_config()
219 ms->smp.dies = dies; in machine_parse_smp_config()
220 ms->smp.clusters = clusters; in machine_parse_smp_config()
221 ms->smp.modules = modules; in machine_parse_smp_config()
222 ms->smp.cores = cores; in machine_parse_smp_config()
223 ms->smp.threads = threads; in machine_parse_smp_config()
224 ms->smp.max_cpus = maxcpus; in machine_parse_smp_config()
241 "maxcpus must be equal to or greater than smp: " in machine_parse_smp_config()
247 if (ms->smp.cpus < mc->min_cpus) { in machine_parse_smp_config()
248 error_setg(errp, "Invalid SMP CPUs %d. The min CPUs " in machine_parse_smp_config()
250 ms->smp.cpus, in machine_parse_smp_config()
255 if (ms->smp.max_cpus > mc->max_cpus) { in machine_parse_smp_config()
256 error_setg(errp, "Invalid SMP CPUs %d. The max CPUs " in machine_parse_smp_config()
258 ms->smp.max_cpus, in machine_parse_smp_config()
333 return ms->smp.cores * ms->smp.modules * ms->smp.clusters * ms->smp.dies; in machine_topo_get_cores_per_socket()
338 return ms->smp.threads * machine_topo_get_cores_per_socket(ms); in machine_topo_get_threads_per_socket()
385 "Invalid smp cache topology. " in machine_check_smp_cache()
393 "Invalid smp cache topology. " in machine_check_smp_cache()