Re: [libvirt] [PATCH 2/2] util: numa: Stub out hugepage code on non-Linux platforms

2014-06-23 Thread Peter Krempa
On 06/23/14 13:49, Michal Privoznik wrote: > On 23.06.2014 09:29, Peter Krempa wrote: >> The hugepage sizing and counting code gathers the information from sysfs >> and thus isn't portable. Stub it out for non-Linux so that we can report >> a better error. This patch also avoids calling sysinfo() o

Re: [libvirt] [PATCH 2/2] util: numa: Stub out hugepage code on non-Linux platforms

2014-06-23 Thread Michal Privoznik
On 23.06.2014 09:29, Peter Krempa wrote: The hugepage sizing and counting code gathers the information from sysfs and thus isn't portable. Stub it out for non-Linux so that we can report a better error. This patch also avoids calling sysinfo() on Mingw where it isn't supported. --- src/util/vir

[libvirt] [PATCH 2/2] util: numa: Stub out hugepage code on non-Linux platforms

2014-06-23 Thread Peter Krempa
The hugepage sizing and counting code gathers the information from sysfs and thus isn't portable. Stub it out for non-Linux so that we can report a better error. This patch also avoids calling sysinfo() on Mingw where it isn't supported. --- src/util/virnuma.c | 46