virnuma: Export virNumaGetMaxCPUs properly

This function will be used in virnumamock, shortly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2021-05-17 12:43:35 +02:00
parent ad661c70b9
commit 9e63f35247
2 changed files with 2 additions and 1 deletions

View File

@ -2872,6 +2872,7 @@ virNodeSuspendGetTargetMask;
virNumaGetAutoPlacementAdvice;
virNumaGetDistances;
virNumaGetHostMemoryNodeset;
virNumaGetMaxCPUs;
virNumaGetMaxNode;
virNumaGetNodeCPUs;
virNumaGetNodeMemory;

View 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,