Re: [PATCH MINI-OS] gnttab: drop GNTMAP_can_fail

2021-08-26 Thread Samuel Thibault
Jan Beulich, le jeu. 26 août 2021 12:20:26 +0200, a ecrit:
> There's neither documentation of what this flag is supposed to mean, nor
> any implementation in the hypervisor.
> 
> Signed-off-by: Jan Beulich 

Reviewed-by: Samuel Thibault 

> --- a/include/xen/grant_table.h
> +++ b/include/xen/grant_table.h
> @@ -627,9 +627,6 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_cache_flu
>  #define _GNTMAP_contains_pte(4)
>  #define GNTMAP_contains_pte (1<<_GNTMAP_contains_pte)
>  
> -#define _GNTMAP_can_fail(5)
> -#define GNTMAP_can_fail (1<<_GNTMAP_can_fail)
> -
>  /*
>   * Bits to be placed in guest kernel available PTE bits (architecture
>   * dependent; only supported when XENFEAT_gnttab_map_avail_bits is set).
> 



[PATCH MINI-OS] gnttab: drop GNTMAP_can_fail

2021-08-26 Thread Jan Beulich
There's neither documentation of what this flag is supposed to mean, nor
any implementation in the hypervisor.

Signed-off-by: Jan Beulich 

--- a/include/xen/grant_table.h
+++ b/include/xen/grant_table.h
@@ -627,9 +627,6 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_cache_flu
 #define _GNTMAP_contains_pte(4)
 #define GNTMAP_contains_pte (1<<_GNTMAP_contains_pte)
 
-#define _GNTMAP_can_fail(5)
-#define GNTMAP_can_fail (1<<_GNTMAP_can_fail)
-
 /*
  * Bits to be placed in guest kernel available PTE bits (architecture
  * dependent; only supported when XENFEAT_gnttab_map_avail_bits is set).