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

Daniel P. Berrange berrange at redhat.com
Thu Dec 11 19:43:01 UTC 2008

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...

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list