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

[Xen-changelog] [xen-unstable] libxc: Implement stub xc_gnttab_map_table() for non-linux.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243867939 -3600
# Node ID 027f19e97e2852b643c2f05413ba24d8286ff3a5
# Parent  2e83c670f6806fa2d1e769d0131115f4143a705d
libxc: Implement stub xc_gnttab_map_table() for non-linux.

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

diff -r 2e83c670f680 -r 027f19e97e28 tools/libxc/xc_minios.c
--- a/tools/libxc/xc_minios.c   Mon Jun 01 14:55:32 2009 +0100
+++ b/tools/libxc/xc_minios.c   Mon Jun 01 15:52:19 2009 +0100
@@ -414,6 +414,11 @@ 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)
+{
+    return NULL;
+}
+
 /*
  * Local variables:
  * mode: C
diff -r 2e83c670f680 -r 027f19e97e28 tools/libxc/xc_netbsd.c
--- a/tools/libxc/xc_netbsd.c   Mon Jun 01 14:55:32 2009 +0100
+++ b/tools/libxc/xc_netbsd.c   Mon Jun 01 15:52:19 2009 +0100
@@ -263,6 +263,11 @@ void discard_file_cache(int fd, int flus
     }
 }
 
+struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
+{
+    return NULL;
+}
+
 /*
  * Local variables:
  * mode: C
diff -r 2e83c670f680 -r 027f19e97e28 tools/libxc/xc_solaris.c
--- a/tools/libxc/xc_solaris.c  Mon Jun 01 14:55:32 2009 +0100
+++ b/tools/libxc/xc_solaris.c  Mon Jun 01 15:52:19 2009 +0100
@@ -252,3 +252,8 @@ 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;
+}

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


 


Rackspace

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