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

Jim Meyering jim at meyering.net
Thu Dec 11 19:52:56 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> wrote:

> On Thu, Dec 11, 2008 at 01:56:47PM -0500, Dave Allan wrote:
>> 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).
>
> I'm still very puzzelled by this. What OS and architecture are you
> running on ?
>
> I'm using Fedora 10, x86_64 and don't see any messages with current
> CVS and it returns NUMA info correctlys (as per virsh capabilities)
>
> Applying your patch and it still works correctly which is good, so
> ACK to applying it from that point of view. I'd still like to
> understand why I'm not seeing the error message, but you are...

Same question here.
At first I just assumed it was because I hadn't been
using --with-numactl (I installed numactl-devel on
that system just yesterday), but even now, I can't
reproduce the failure.

This is on rawhide (though same version on F10):

  $ rpm -q numactl-devel
  numactl-devel-2.0.2-2.fc10.x86_64




More information about the libvir-list mailing list