Re: [Qemu-devel] [PATCH v2 1/3] numa: Reject CPU indexes > max_cpus

2015-02-12 Thread Igor Mammedov
On Mon, 9 Feb 2015 17:53:14 -0200 Eduardo Habkost wrote: > The CPU indexes for NUMA nodes make sense only up to max_cpus, and CPU > indexes > max_cpus are ignored. Reject configuration which uses invalid > CPU indexes. > > Signed-off-by: Eduardo Habkost > --- > numa.c | 7 --- > 1 file ch

[Qemu-devel] [PATCH v2 1/3] numa: Reject CPU indexes > max_cpus

2015-02-09 Thread Eduardo Habkost
The CPU indexes for NUMA nodes make sense only up to max_cpus, and CPU indexes > max_cpus are ignored. Reject configuration which uses invalid CPU indexes. Signed-off-by: Eduardo Habkost --- numa.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/numa.c b/numa.c index 0