[libvirt] [PATCH 2/2] numa: fix assumption in virNumaNodeIsAvailable()

Eric Blake eblake at redhat.com
Thu Nov 6 14:33:54 UTC 2014

On 11/06/2014 02:24 PM, Martin Kletzander wrote:
> When compiled without full numa support, the stub function for
> virNumaNodeIsAvailable() just checks whether specified node is in range
> <0, max); where max is maximum NUMA node available on the host.  But
> because the maximum node number is the highest usabe number (and not the


> count of nodes), the check is incorrect as it should check whether the
> specified node is in range <0, max> instead.
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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

More information about the libvir-list mailing list