[PATCH 1/3] numatune_conf: Expose virDomainNumatuneNodeSpecified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This function is going to be needed in the near future.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/conf/numatune_conf.c | 2 +-
 src/conf/numatune_conf.h | 3 +++
 src/libvirt_private.syms | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/conf/numatune_conf.c b/src/conf/numatune_conf.c
index 7f322ea..d6cedaa 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 28c4ce2..c4b3f6e 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 645aef1..5bdd075 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -638,6 +638,7 @@ virDomainNumatuneMaybeGetNodeset;
 virDomainNumatuneMemModeTypeFromString;
 virDomainNumatuneMemModeTypeToString;
 virDomainNumatuneNodesetIsAvailable;
+virDomainNumatuneNodeSpecified;
 virDomainNumatuneParseXML;
 virDomainNumatunePlacementTypeFromString;
 virDomainNumatunePlacementTypeToString;
-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]