ia64/xen-unstable

changeset 19695:027f19e97e28

libxc: Implement stub xc_gnttab_map_table() for non-linux.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 01 15:52:19 2009 +0100 (2009-06-01)
parents 2e83c670f680
children 4294a04b24bc
files tools/libxc/xc_minios.c tools/libxc/xc_netbsd.c tools/libxc/xc_solaris.c
line diff
     1.1 --- a/tools/libxc/xc_minios.c	Mon Jun 01 14:55:32 2009 +0100
     1.2 +++ b/tools/libxc/xc_minios.c	Mon Jun 01 15:52:19 2009 +0100
     1.3 @@ -414,6 +414,11 @@ int xc_gnttab_set_max_grants(int xcg_han
     1.4      return ret;
     1.5  }
     1.6  
     1.7 +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
     1.8 +{
     1.9 +    return NULL;
    1.10 +}
    1.11 +
    1.12  /*
    1.13   * Local variables:
    1.14   * mode: C
     2.1 --- a/tools/libxc/xc_netbsd.c	Mon Jun 01 14:55:32 2009 +0100
     2.2 +++ b/tools/libxc/xc_netbsd.c	Mon Jun 01 15:52:19 2009 +0100
     2.3 @@ -263,6 +263,11 @@ void discard_file_cache(int fd, int flus
     2.4      }
     2.5  }
     2.6  
     2.7 +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
     2.8 +{
     2.9 +    return NULL;
    2.10 +}
    2.11 +
    2.12  /*
    2.13   * Local variables:
    2.14   * mode: C
     3.1 --- a/tools/libxc/xc_solaris.c	Mon Jun 01 14:55:32 2009 +0100
     3.2 +++ b/tools/libxc/xc_solaris.c	Mon Jun 01 15:52:19 2009 +0100
     3.3 @@ -252,3 +252,8 @@ void discard_file_cache(int fd, int flus
     3.4  {
     3.5      // TODO: Implement for Solaris!
     3.6  }
     3.7 +
     3.8 +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num)
     3.9 +{
    3.10 +    return NULL;
    3.11 +}