[libvirt] [PATCH] fix size parameter in calls to numa_node_to_cpus

Dave Allan dallan at redhat.com
Thu Dec 11 18:56:47 UTC 2008

I was getting the error:

map size mismatch; abort

when running the daemon-conf tests.

I traced it to two places in which we were passing a parameter as a 
number of bits to numa_node_to_cpus which expects a number of bytes (see 
numa_node_to_cpus_compat in numa.h in the numactl source).

The attached patch fixes the problem.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-numa_node_to_cpus-calls.patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081211/43d5e9e5/attachment-0001.ksh>

More information about the libvir-list mailing list