WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix solaris xc_map_foreign_ranges()
From: John Levon <john.levon@xxxxxxx>
Date: Wed, 11 Mar 2009 18:37:44 -0700
Delivery-date: Wed, 11 Mar 2009 18:46:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix solaris xc_map_foreign_ranges(), John Levon <=