]> xenbits.xensource.com Git - libvirt.git/commit
virnuma: Introduce virNumaGetDistances
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 2 Jun 2014 10:06:56 +0000 (12:06 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Jun 2014 06:54:16 +0000 (08:54 +0200)
commit77c830d8c44695ffaec29523bf01cee2364e42ef
treeeb44b682e7b5369c853cb97114bd3d61a06df3a9
parent9046f910bdb3f7fc3a3777eb7feda1c07108d698
virnuma: Introduce virNumaGetDistances

The API gets a NUMA node and find distances to other nodes.  The
distances are returned in an array. If an item X within the array
equals to value of zero, then there's no such node as X.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virnuma.c
src/util/virnuma.h