]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: numa: Stub out hugepage code on non-Linux platforms
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Jun 2014 07:25:04 +0000 (09:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Jun 2014 12:07:57 +0000 (14:07 +0200)
commite6258a333cd86e0ae7c754b2d5438100512c8845
tree827f09b10200fe9e81433f0b03fefa8d88cfc017
parent00b2317a660fbf045f07bb1d25094850c9954b1d
util: numa: Stub out hugepage code on non-Linux platforms

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