[libvirt] [PATCH 4/4] Fix handling of sparse NUMA topologies

Eric Blake eblake at redhat.com
Tue Aug 17 15:36:24 UTC 2010


On 08/17/2010 09:16 AM, Daniel P. Berrange wrote:
> When finding a sparse NUMA topology, libnuma will return ENOENT
> the first time it is invoked. On subsequent invocations it
> will return success, but with an all-1's CPU mask. Check for
> this, to avoid polluting the capabilities XML with 4096 bogus
> CPUs
> 
> * src/nodeinfo.c: Check for all-1s CPU mask
> ---
>  src/nodeinfo.c |   14 +++++++++++++-
>  1 files changed, 13 insertions(+), 1 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100817/91a3b1f9/attachment-0001.sig>


More information about the libvir-list mailing list