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

[Xen-devel] [PATCH 04/11] libxc: rump kernels: Use standard xc_osdep_get_info



Do not try to support the dlopen-based xc indirection.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.