]> xenbits.xensource.com Git - libvirt.git/commitdiff
virnuma: Export virNumaGetMaxCPUs properly
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 17 May 2021 10:43:35 +0000 (12:43 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 17 May 2021 13:54:13 +0000 (15:54 +0200)
This function will be used in virnumamock, shortly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt_private.syms
src/util/virnuma.h

index 1df4b8cfe86d58fe05c6864069c57fe4b1f1e8ab..b7bbe46dc7c363a18325ac9831a4bd34849cd7e5 100644 (file)
@@ -2872,6 +2872,7 @@ virNodeSuspendGetTargetMask;
 virNumaGetAutoPlacementAdvice;
 virNumaGetDistances;
 virNumaGetHostMemoryNodeset;
+virNumaGetMaxCPUs;
 virNumaGetMaxNode;
 virNumaGetNodeCPUs;
 virNumaGetNodeMemory;
index 45342ecf119a69e51a13b0c5b7dbcf239155954a..bc79bff891b4ff1d78351cb2943efdc8f6b7b2c4 100644 (file)
@@ -43,7 +43,7 @@ int virNumaGetNodeMemory(int node,
                          unsigned long long *memsize,
                          unsigned long long *memfree) G_GNUC_NO_INLINE;
 
-unsigned int virNumaGetMaxCPUs(void);
+unsigned int virNumaGetMaxCPUs(void) G_GNUC_NO_INLINE;
 
 int virNumaGetNodeCPUs(int node, virBitmap **cpus) G_GNUC_NO_INLINE;
 int virNumaNodesetToCPUset(virBitmap *nodeset,