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

Ján Tomko jtomko at redhat.com
Tue Jun 24 08:15:29 UTC 2014


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.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/util/virnuma.c | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)

ACK

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140624/e6833218/attachment-0001.sig>


More information about the libvir-list mailing list