[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxenctrl: Fix non-Linux definitions of xc_gnttab_map_table*().
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |