From: Ian Jackson Subject: [PATCH 04/11] libxc: rump kernels: Use standard xc_osdep_get_info Date: Mon, 30 Jun 2014 16:52:02 +0100 Message-ID: <1404143529-5039-5-git-send-email-ian.jackson@eu.citrix.com> References: <1404143529-5039-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404143529-5039-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: Ian Jackson List-Id: xen-devel@lists.xenproject.org Do not try to support the dlopen-based xc indirection. Signed-off-by: Ian Jackson --- tools/libxc/xc_private.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c index a3da614..359d0d8 100644 --- a/tools/libxc/xc_private.c +++ b/tools/libxc/xc_private.c @@ -50,7 +50,7 @@ static int xc_osdep_get_info(xc_interface *xch, xc_osdep_info_t *info) { int rc = -1; -#ifndef __MINIOS__ +#if !defined (__MINIOS__) && !defined(__RUMPUSER_XEN__) const char *lib = getenv(XENCTRL_OSDEP); xc_osdep_info_t *pinfo; void *dl_handle = NULL; @@ -94,7 +94,7 @@ static int xc_osdep_get_info(xc_interface *xch, xc_osdep_info_t *info) rc = 0; -#ifndef __MINIOS__ +#if !defined (__MINIOS__) && !defined(__RUMPUSER_XEN__) out: if ( dl_handle && rc == -1 ) dlclose(dl_handle); @@ -105,7 +105,7 @@ out: static void xc_osdep_put(xc_osdep_info_t *info) { -#ifndef __MINIOS__ +#if !defined (__MINIOS__) && !defined(__RUMPUSER_XEN__) if ( info->dl_handle ) dlclose(info->dl_handle); #endif -- 1.7.10.4