[libvirt] [PATCH] fix numa-related (and kernel-dependent) test failures

Jim Meyering jim at meyering.net
Wed Dec 17 07:39:04 UTC 2008


Daniel Veillard <veillard at redhat.com> wrote:
...
>> All tests pass for me with that patch.  Looks good.
>
>   Same for me, +1 !

Thanks.
Pushed with this comment:

        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.




More information about the libvir-list mailing list