]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vl.c: Check for NUMA node limit inside numa_add()
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 4 Feb 2013 18:27:48 +0000 (16:27 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 4 Feb 2013 20:38:33 +0000 (14:38 -0600)
commitca4c6d363153f19abf3ffdf0ca1532daa581867d
tree02d873a0f7bf05c8df778d1975f4db9b519098f2
parent12e53a9d59c8cb272a423e1db036324579a3c697
vl.c: Check for NUMA node limit inside numa_add()

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 <ehabkost@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c