]> xenbits.xensource.com Git - xen.git/commitdiff
public/gnttab: relax v2 recommendation
authorJan Beulich <jbeulich@suse.com>
Fri, 19 Nov 2021 08:42:10 +0000 (09:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Nov 2021 08:42:10 +0000 (09:42 +0100)
With there being a way to disable v2 support, telling new guests to use
v2 exclusively is not a good suggestion.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
master commit: 2d72d2784eb71d8532bfbd6462d261739c9e82e4
master date: 2021-11-16 17:34:06 +0100

xen/include/public/grant_table.h

index 84b1d26b36d872b96febf2e42ef7287ee3d44e3d..61be5acceeecd411d74b62ffc82f74b7a91fbbee 100644 (file)
@@ -121,8 +121,9 @@ typedef uint32_t grant_ref_t;
  */
 
 /*
- * Version 1 of the grant table entry structure is maintained purely
- * for backwards compatibility.  New guests should use version 2.
+ * Version 1 of the grant table entry structure is maintained largely for
+ * backwards compatibility.  New guests are recommended to support using
+ * version 2 to overcome version 1 limitations, but to default to version 1.
  */
 #if __XEN_INTERFACE_VERSION__ < 0x0003020a
 #define grant_entry_v1 grant_entry