Re: [libvirt] [PATCH 04/10] nodeinfo: Add old kernel compatibility to nodeGetPresentCPUBitmap()

2015-07-20 Thread Peter Krempa
On Fri, Jul 17, 2015 at 18:13:23 +0200, Andrea Bolognani wrote: > If the cpu/present file is not available, we assume that the kernel > is too old to support non-consecutive CPU ids and return a bitmap > with all the bits set to represent this fact. This assumption is > already exploited in nodeGet

[libvirt] [PATCH 04/10] nodeinfo: Add old kernel compatibility to nodeGetPresentCPUBitmap()

2015-07-17 Thread Andrea Bolognani
If the cpu/present file is not available, we assume that the kernel is too old to support non-consecutive CPU ids and return a bitmap with all the bits set to represent this fact. This assumption is already exploited in nodeGetCPUCount(). This means users of this API can expect the information to