From: Michal Privoznik Date: Thu, 12 Feb 2015 16:37:46 +0000 (+0100) Subject: numatune_conf: Expose virDomainNumatuneNodeSpecified X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=65c0fd9dfc712d23721e8052ce655100e230a3b3;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git numatune_conf: Expose virDomainNumatuneNodeSpecified This function is going to be needed in the near future. Signed-off-by: Michal Privoznik --- diff --git a/src/conf/numatune_conf.c b/src/conf/numatune_conf.c index 7f322ea7e..d6cedaa5a 100644 --- a/src/conf/numatune_conf.c +++ b/src/conf/numatune_conf.c @@ -64,7 +64,7 @@ struct _virDomainNumatune { }; -static inline bool +inline bool virDomainNumatuneNodeSpecified(virDomainNumatunePtr numatune, int cellid) { diff --git a/src/conf/numatune_conf.h b/src/conf/numatune_conf.h index 28c4ce255..c4b3f6e69 100644 --- a/src/conf/numatune_conf.h +++ b/src/conf/numatune_conf.h @@ -111,4 +111,7 @@ int virDomainNumatuneSpecifiedMaxNode(virDomainNumatunePtr numatune); bool virDomainNumatuneNodesetIsAvailable(virDomainNumatunePtr numatune, virBitmapPtr auto_nodeset); + +bool virDomainNumatuneNodeSpecified(virDomainNumatunePtr numatune, + int cellid); #endif /* __NUMATUNE_CONF_H__ */ diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index c07a5613f..46a16136c 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -639,6 +639,7 @@ virDomainNumatuneMaybeGetNodeset; virDomainNumatuneMemModeTypeFromString; virDomainNumatuneMemModeTypeToString; virDomainNumatuneNodesetIsAvailable; +virDomainNumatuneNodeSpecified; virDomainNumatuneParseXML; virDomainNumatunePlacementTypeFromString; virDomainNumatunePlacementTypeToString;