Re: [libvirt] [PATCH 2/2] nodeinfo: Fix CPU core counting

2012-06-26 Thread Peter Krempa
On 06/25/12 16:43, Peter Krempa wrote: Parsing of the processor information from /sys/ didn't take into account that cores on different physical processors may have different core ID's. This resulted in reporting more cores than actually were present. This patch changes the process of counting

[libvirt] [PATCH 2/2] nodeinfo: Fix CPU core counting

2012-06-25 Thread Peter Krempa
Parsing of the processor information from /sys/ didn't take into account that cores on different physical processors may have different core ID's. This resulted in reporting more cores than actually were present. This patch changes the process of counting cores. So that cores are counted