Re: [libvirt] [PATCH 2/3] virNumaGetPages: Don't fail on huge page-less systems

2014-06-24 Thread Ján Tomko
On 06/23/2014 03:59 PM, Michal Privoznik wrote: > If we are running on a system that is not capable of huge pages (e.g. > because the kernel is not configured that way) we still try to open > "/sys/kernel/mm/hugepages/" which however does not exist. We should > be tolerant to this specific use case

[libvirt] [PATCH 2/3] virNumaGetPages: Don't fail on huge page-less systems

2014-06-23 Thread Michal Privoznik
If we are running on a system that is not capable of huge pages (e.g. because the kernel is not configured that way) we still try to open "/sys/kernel/mm/hugepages/" which however does not exist. We should be tolerant to this specific use case. Signed-off-by: Michal Privoznik --- src/util/virnum