[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 4/4] numa: Print warning if no node is assign
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v3 4/4] numa: Print warning if no node is assigned to a CPU |
Date: |
Thu, 12 Feb 2015 19:22:37 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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