Re: [libvirt] [PATCH] nodeinfo: fix to parse present cpus rather than possible cpus

2015-06-12 Thread John Ferlan
On 06/10/2015 02:49 AM, Kothapally Madhu Pavan wrote: > Currently we are parsing all the possible cpus to get the > nodeinfo. This fix will perform a check for present cpus > before parsing. > > Signed-off-by: Kothapally Madhu Pavan > --- > src/nodeinfo.c | 10 ++ > 1 file changed, 1

[libvirt] [PATCH] nodeinfo: fix to parse present cpus rather than possible cpus

2015-06-09 Thread Kothapally Madhu Pavan
Currently we are parsing all the possible cpus to get the nodeinfo. This fix will perform a check for present cpus before parsing. Signed-off-by: Kothapally Madhu Pavan --- src/nodeinfo.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/nodeinfo.c b/src/nodeinfo.c index 2faf