[Qemu-devel] [PATCH 4/8] vl.c: Check for NUMA node limit inside numa_add()

2013-02-04 Thread Eduardo Habkost
Instead of checking the limit before calling numa_add(), check the limit only when we already know we're going to add a new node. Signed-off-by: Eduardo Habkost Reviewed-by: Eric Blake --- vl.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c index 586a

[Qemu-devel] [PATCH 4/8] vl.c: Check for NUMA node limit inside numa_add()

2013-01-16 Thread Eduardo Habkost
Instead of checking the limit before calling numa_add(), check the limit only when we already know we're going to add a new node. Signed-off-by: Eduardo Habkost Reviewed-by: Eric Blake --- Changes v2: - Implement the change without adding numa_node_add() function --- vl.c | 10 ++ 1 fi

Re: [Qemu-devel] [PATCH 4/8] vl.c: Check for NUMA node limit inside numa_add()

2013-01-16 Thread Eric Blake
On 01/16/2013 08:24 AM, Eduardo Habkost wrote: > Instead of checking the limit before calling numa_add(), check the limit > only when we already know we're going to add a new node. > > Signed-off-by: Eduardo Habkost > --- > Changes v2: > - Implement the change without adding numa_node_add() func

[Qemu-devel] [PATCH 4/8] vl.c: Check for NUMA node limit inside numa_add()

2013-01-16 Thread Eduardo Habkost
Instead of checking the limit before calling numa_add(), check the limit only when we already know we're going to add a new node. Signed-off-by: Eduardo Habkost --- Changes v2: - Implement the change without adding numa_node_add() function --- vl.c | 10 ++ 1 file changed, 6 insertions(