From 76107bf1d9d64296520e7be7d06f5c93ddad287e Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Mon, 27 Mar 2017 17:11:49 +0200 Subject: [PATCH] Expose Linux symbols only on Linux Signed-off-by: Martin Kletzander --- src/libvirt_linux.syms | 3 +++ src/libvirt_private.syms | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libvirt_linux.syms b/src/libvirt_linux.syms index 3d66f01306..5fa2c790ef 100644 --- a/src/libvirt_linux.syms +++ b/src/libvirt_linux.syms @@ -3,7 +3,10 @@ # # util/virhostcpu.h +virHostCPUGetCore; virHostCPUGetInfoPopulateLinux; +virHostCPUGetSiblingsList; +virHostCPUGetSocket; virHostCPUGetStatsLinux; # Let emacs know we want case-insensitive sorting diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index d614b38a86..b551cb86a6 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -1715,7 +1715,6 @@ virHookPresent; # util/virhostcpu.h -virHostCPUGetCore; virHostCPUGetCount; virHostCPUGetInfo; virHostCPUGetKVMMaxVCPUs; @@ -1723,7 +1722,6 @@ virHostCPUGetMap; virHostCPUGetOnline; virHostCPUGetOnlineBitmap; virHostCPUGetPresentBitmap; -virHostCPUGetSocket; virHostCPUGetStats; virHostCPUGetThreadsPerSubcore; virHostCPUHasBitmap; -- GitLab