public/gnttab: relax v2 recommendation
PATCH v2 1/1 public/gnttab: relax v2 recommendation
With there being a way to disable v2 support, telling new guests to use v2 exclusively is not a good suggestion.
---
v2: s/be able to fall back/default/.
xen/include/public/grant_table.h +3 -2
@@ -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
[4.16?] Re: [PATCH v2] public/gnttab: relax v2 recommendation
Quoted 12 lines · Jan Beulich
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 <[email protected]>Reviewed-by Luca Fancellu <[email protected]>---
v2: s/be able to fall back/default/.xen/include/public/grant_table.h +0
-0@@ -121,8 +121,9 @@ typedef uint32_t grant_ref_t;*/
xen/include/public/grant_table.h typedef uint32_t grant_ref_t; · line 129
Quoted 10 lines
xen/include/public/grant_table.h +3
-2/* -* 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
This being a comment only change (and hence close to zero risk) I wonder whether this wouldn't still be appropriate for 4.16. I'm sorry for not having remembered earlier to submit v2 of this.
Jan
Jan Beulich writes ("[PATCH v2] public/gnttab: relax v2 recommendation"):
Quoted 5 lines
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 <[email protected]>Reviewed-by Luca Fancellu <[email protected]>
This is a just a comment change and AIUI the recommendation ought to be the same for all relevant versions.
We should consider backporting too.
Ian.