On 12/02/2015 18:50, Eduardo Habkost wrote:
> +
> +    if (!bitmap_full(seen_cpus, max_cpus)) {
> +        char *msg;
> +        bitmap_complement(seen_cpus, seen_cpus, max_cpus);
> +        msg = enumerate_cpus(seen_cpus, max_cpus);
> +        error_report("warning: CPU(s) not present in any NUMA nodes: %s", 
> msg);
> +        g_free(msg);
> +    }

What happens if you have a single node (useful to give it a memdev via
-numa node,memdev=...)?  It would be nice in this case to avoid the
warning and assign all CPUs to node 0.

Paolo

Reply via email to