]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix NUMA build on RHEL 5
authorEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 03:53:08 +0000 (21:53 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 14:24:10 +0000 (08:24 -0600)
commit98d83094a0ca7f9d95ddecd4a8758069276dea99
tree29c43d867e56d9c6047ffc540ab8ed0173d945c2
parentb46832971cccffcb2afd13926160bbb6e3789493
build: fix NUMA build on RHEL 5

Use NUMA's older nodemask_t (fixed-size map) rather than the newer
'struct bitmask' (variable-size) in order to still compile on RHEL 5,
with its numactl-devel-0.9.8.

* src/qemu/qemu_process.c [HAVE_NUMA]: Prefer back-compat mode.
(qemuProcessInitNumaMemoryPolicy): Use older nodemask_t.
src/qemu/qemu_process.c