Lines Matching full:node

799  *         numa node specified by @props.node_id
802 * Associate NUMA node specified by @props.node_id with cpu slots that
805 * which would lead to exact 1:1 mapping of cpu slots to NUMA node.
810 * -smp 4,cores=2,sockets=2 -numa node,nodeid=0 -numa node,nodeid=1 \
811 * -numa cpu,node-id=0,socket_id=0 \
812 * -numa cpu,node-id=1,socket_id=1
813 * will assign all child cores of socket 0 to node 0 and
814 * of socket 1 to node 1.
816 * On attempt of reassigning (already assigned) cpu slot to another NUMA node,
829 error_setg(errp, "mapping of CPUs to NUMA node is not supported"); in machine_set_cpu_numa_node()
833 /* disabling node mapping is not supported, forbid it */ in machine_set_cpu_numa_node()
902 * error out if cpu thread and matched core have the same node-id */ in machine_set_cpu_numa_node()
905 error_setg(errp, "CPU is already assigned to node-id: %" PRId64, in machine_set_cpu_numa_node()
910 /* assign slot to node as it's matched '-numa cpu' key */ in machine_set_cpu_numa_node()
918 error_setg(errp, "The initiator of CPU NUMA node %" PRId64 in machine_set_cpu_numa_node()
977 SmpCacheProperties *node = g_new(SmpCacheProperties, 1); in machine_get_smp_cache() local
979 node->cache = cache->props[i].cache; in machine_get_smp_cache()
980 node->topology = cache->props[i].topology; in machine_get_smp_cache()
981 QAPI_LIST_APPEND(tail, node); in machine_get_smp_cache()
1118 /* numa node memory size aligned on 8MB by default. in machine_class_init()
1119 * On Linux, each node's border has to be 8MB aligned in machine_class_init()
1181 "Overrides the \"compatible\" property of the dt root node"); in machine_class_init()
1422 error_report("NUMA node %" PRIu16 " is missing, use " in numa_validate_initiator()
1423 "'-numa node' option to declare it first", in numa_validate_initiator()
1429 error_report("The initiator of NUMA node %d is invalid", i); in numa_validate_initiator()
1467 /* non mapped cpus used to fallback to node 0 */ in machine_numa_finish_cpu_init()
1505 * it's fine to associate one NUMA node with CPUs in different clusters. in validate_cpu_cluster_to_numa_boundary()
1519 " have been associated with node-%" PRId64 " and node-%" PRId64 in validate_cpu_cluster_to_numa_boundary()