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

[Xen-devel] [PATCH] Fix solaris xc_map_foreign_ranges()



# HG changeset patch
# User John Levon <john.levon@xxxxxxx>
# Date 1236821819 25200
# Node ID 788c6721291faf9a2328d6249b26f76fc030bdfa
# Parent  37664a50728c1bfed81a417d6ae7f9f73b3e34ab
Fix solaris xc_map_foreign_ranges()

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/tools/libxc/xc_solaris.c b/tools/libxc/xc_solaris.c
--- a/tools/libxc/xc_solaris.c
+++ b/tools/libxc/xc_solaris.c
@@ -134,6 +134,8 @@ void *xc_map_foreign_ranges(int xc_handl
     if (rc)
         goto ioctl_failed;
 
+    return addr;
+
 ioctl_failed:
     rc = munmap(addr, size);
     if (rc == -1)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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