[libvirt] [PATCH] Create fake NUMA info if libnuma isn't available

Eric Blake eblake at redhat.com
Wed Apr 3 20:50:52 UTC 2013


On 04/03/2013 02:12 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> If libnuma is not compiled in, or numa_available() returns an
> error, stub out fake NUMA info consisting of one NUMA cell
> containing all CPUs and memory.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/nodeinfo.c | 137 ++++++++++++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 111 insertions(+), 26 deletions(-)

ACK.

-- 
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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130403/2d18ae96/attachment-0001.sig>


More information about the libvir-list mailing list