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-changelog

[Xen-changelog] [xen-unstable] libxenctrl: Fix non-Linux definitions of

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxenctrl: Fix non-Linux definitions of xc_gnttab_map_table*().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Oct 2009 08:15:14 -0700
Delivery-date: Wed, 07 Oct 2009 08:15:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1254928219 -3600
# Node ID 5cb466187e1f5827c14fcb05e4a7c4dab0f2b441
# Parent  42a53969eb7e1f84c35f48cb685aca31111bb80d
libxenctrl: Fix non-Linux definitions of xc_gnttab_map_table*().

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/libxc/xc_minios.c  |    9 ++++++++-
 tools/libxc/xc_netbsd.c  |    9 ++++++++-
 tools/libxc/xc_solaris.c |   15 +++++++++++----
 3 files changed, 27 insertions(+), 6 deletions(-)

diff -r 42a53969eb7e -r 5cb466187e1f tools/libxc/xc_minios.c
--- a/tools/libxc/xc_minios.c   Wed Oct 07 15:58:26 2009 +0100
+++ b/tools/libxc/xc_minios.c   Wed Oct 07 16:10:19 2009 +0100
@@ -414,7 +414,14 @@ int xc_gnttab_set_max_grants(int xcg_han
     return ret;
 }
 
-struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
+grant_entry_v1_t *xc_gnttab_map_table_v1(
+    int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}
+
+grant_entry_v2_t *xc_gnttab_map_table_v2(
+    int xc_handle, int domid, int *gnt_num)
 {
     return NULL;
 }
diff -r 42a53969eb7e -r 5cb466187e1f tools/libxc/xc_netbsd.c
--- a/tools/libxc/xc_netbsd.c   Wed Oct 07 15:58:26 2009 +0100
+++ b/tools/libxc/xc_netbsd.c   Wed Oct 07 16:10:19 2009 +0100
@@ -263,7 +263,14 @@ void discard_file_cache(int fd, int flus
     }
 }
 
-struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
+grant_entry_v1_t *xc_gnttab_map_table_v1(
+    int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}
+
+grant_entry_v2_t *xc_gnttab_map_table_v2(
+    int xc_handle, int domid, int *gnt_num)
 {
     return NULL;
 }
diff -r 42a53969eb7e -r 5cb466187e1f tools/libxc/xc_solaris.c
--- a/tools/libxc/xc_solaris.c  Wed Oct 07 15:58:26 2009 +0100
+++ b/tools/libxc/xc_solaris.c  Wed Oct 07 16:10:19 2009 +0100
@@ -253,7 +253,14 @@ void discard_file_cache(int fd, int flus
     // TODO: Implement for Solaris!
 }
 
-struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
-{
-    return NULL;
-}
+grant_entry_v1_t *xc_gnttab_map_table_v1(
+    int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}
+
+grant_entry_v2_t *xc_gnttab_map_table_v2(
+    int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxenctrl: Fix non-Linux definitions of xc_gnttab_map_table*()., Xen patchbot-unstable <=