Skip to contentSkip to conversation

gnttab: drop GNTMAP_can_fail

PATCH In review Jan Beulich 2 participants 2 messages Aug 26, 2021 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnttab: drop GNTMAP_can_fail

There's neither documentation of what this flag is supposed to mean, nor any implementation in the hypervisor.

include/xen/grant_table.h +0 -3
@@ -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).
Reviewed-by on v1 1/1
#1 lore raw

Jan Beulich, le jeu. 26 août 2021 12:20:26 +0200, a ecrit:

Quoted 4 lines

There's neither documentation of what this flag is supposed to mean, nor any implementation in the hypervisor.

Quoted 13 lines
include/xen/grant_table.h +0 -3
@@ -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).