]> git.ipfire.org Git - thirdparty/libvirt.git/commit
fix numa-related (and kernel-dependent) test failures
authorJim Meyering <meyering@redhat.com>
Wed, 17 Dec 2008 07:05:45 +0000 (07:05 +0000)
committerJim Meyering <meyering@redhat.com>
Wed, 17 Dec 2008 07:05:45 +0000 (07:05 +0000)
commit7e6a06aeae80673d10b2c8efd41f76bfaf1d75c1
treee988cf79cba048f0d86566274ca53e5fee402b3c
parent0e459cbdfbe4bca2c859303f4be5275d514e916d
fix numa-related (and kernel-dependent) test failures

This change is required on some kernels due to the way a change in
the kernel's CONFIG_NR_CPUS propagates through the numa library.
* src/qemu_conf.c (qemudCapsInitNUMA): Pass numa_all_cpus_ptr->size/8
as the buffer-length-in-bytes in the call to numa_node_to_cpus, since
that's what is required on second and subseqent calls.
* src/uml_conf.c (umlCapsInitNUMA): Likewise.
ChangeLog
src/qemu_conf.c
src/uml_conf.c