xen/public: increment domctl interface version
PATCH 1/1 xen/public: increment domctl interface version
The recent addition of the XEN_DOMCTL_dt_overlay function was missing the related update of XEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.
--- xen/include/public/domctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/public/domctl.h +1 -1
@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h" -#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018/* * NB. xen_domctl.domain is an IN/OUT parameter for this operation.
Signature · 1 line
2.43.0
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")
I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
xen/include/public/domctl.h line 24
Quoted 8 lines
xen/include/public/domctl.h +1
-1@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h" -#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018
... from 0x16 to 0x17. And for no apparent reason, as plain additions don't require a bump. Didi you maybe mean to reference a different commit?
Jan
Quoted 16 lines · Jan Beulich
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
Quoted 6 lines
xen/include/public/domctl.h +0
-0@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h"
Quoted 5 lines
xen/include/public/domctl.h line 24
Quoted 2 lines
xen/include/public/domctl.h +1
-1-#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018... from
0x16to0x17. And for no apparent reason, as plain additions don't require a bump. Didi you maybe mean to reference a different commit?
Albeit looking at the history of domctl.h I also can't spot any candidate.
Jan
Quoted 16 lines · Jan Beulich
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
Quoted 6 lines
xen/include/public/domctl.h +0
-0@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h"
Quoted 5 lines
xen/include/public/domctl.h line 24
Quoted 2 lines
xen/include/public/domctl.h +1
-1-#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018... from
0x16to0x17. And for no apparent reason, as plain additions don't require a bump. Didi you maybe mean to reference a different commit?
Oh, indeed. I wanted to reference d6e9a2aab39e.
And regarding to "plain additions don't require a bump": 4c733873b5c2 did a plain addition and bumped the version.
Juergen
Quoted 23 lines · Jürgen Groß
Quoted 16 lines · Jan Beulich
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
Quoted 6 lines
xen/include/public/domctl.h +0
-0@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h" Quoted 5 lines
xen/include/public/domctl.h line 24
Quoted 2 lines
xen/include/public/domctl.h +1
-1-#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018... from
0x16to0x17. And for no apparent reason, as plain additions don't require a bump. Did you maybe mean to reference a different commit?
Quoted 4 lines
Oh, indeed. I wanted to reference
d6e9a2aab39e.And regarding to "plain additions don't require a bump":
4c733873b5c2did a plain addition and bumped the version.
Right, hence why I said "for no apparent reason".
Jan
Quoted 24 lines · Jan Beulich
Quoted 23 lines · Jürgen Groß
Quoted 21 lines · Jan Beulich
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
xen/include/public/domctl.h line 24
Quoted 8 lines
xen/include/public/domctl.h +1
-1@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h" -#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018... from
0x16to0x17. And for no apparent reason, as plain additions don't require a bump. Did you maybe mean to reference a different commit?
Quoted 6 lines
Quoted 4 lines
Oh, indeed. I wanted to reference
d6e9a2aab39e.And regarding to "plain additions don't require a bump":
4c733873b5c2did a plain addition and bumped the version.Right, hence why I said "for no apparent reason".
There seems to be a lack of documentation in this regard.
Julien explicitly asked for the bump for that addition.
I'm fine with dropping my patch if others agree that the bump isn't needed. In that case I'll send another one adding a comment for the mechanics of interface version bump in domctl.h and sysctl.h.
Juergen
Quoted 27 lines · Jürgen Groß
Quoted 26 lines · Jan Beulich
Quoted 25 lines · Jürgen Groß
Quoted 16 lines · Jan Beulich
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
Quoted 6 lines
xen/include/public/domctl.h +0
-0@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h" Quoted 5 lines
xen/include/public/domctl.h line 24
Quoted 2 lines
xen/include/public/domctl.h +1
-1-#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018... from
0x16to0x17. And for no apparent reason, as plain additions don't require a bump. Did you maybe mean to reference a different commit?Oh, indeed. I wanted to reference
d6e9a2aab39e.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
And regarding to "plain additions don't require a bump":
4c733873b5c2did a plain addition and bumped the version.Right, hence why I said "for no apparent reason".
There seems to be a lack of documentation in this regard.
Julien explicitly asked for the bump for that addition.
Julien - why was that? Bumps are needed only for backwards incompatible changes. Plain additions therefore never require a bump. As as we get better with properly checking e.g. padding fields, the frequency of required bumps should also further reduce.
Quoted 3 lines
I'm fine with dropping my patch if others agree that the bump isn't needed. In that case I'll send another one adding a comment for the mechanics of interface version bump in
domctl.handsysctl.h.
Oh, yes, please feel free to do so.
Jan
Hi Jan,
Quoted 31 lines · Jan Beulich
Quoted 30 lines · Jürgen Groß
Quoted 29 lines · Jan Beulich
Quoted 27 lines · Jürgen Groß
Quoted 16 lines · Jan Beulich
Quoted 5 lines · Juergen Gross
The recent addition of the
XEN_DOMCTL_dt_overlayfunction was missing the related update ofXEN_DOMCTL_INTERFACE_VERSION, as it has been the first interface change of the 4.20 release cycle.Fixes 4c733873b5c2 ("xen/arm: Add XEN_DOMCTL_dt_overlay and device attachment to domains")I'm confused: That change (a) pre-dates the branching of 4.20 and (b) bumped the version ...
Quoted 6 lines
xen/include/public/domctl.h +0
-0@@ -21,7 +21,7 @@#include "hvm/save.h" #include "memory.h" Quoted 5 lines
xen/include/public/domctl.h line 24
Quoted 2 lines
xen/include/public/domctl.h +1
-1-#define XEN_DOMCTL_INTERFACE_VERSION 0x00000017 +#define XEN_DOMCTL_INTERFACE_VERSION 0x00000018... from
0x16to0x17. And for no apparent reason, as plain additions don't require a bump. Did you maybe mean to reference a different commit?Oh, indeed. I wanted to reference
d6e9a2aab39e.And regarding to "plain additions don't require a bump":
4c733873b5c2did a plain addition and bumped the version.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Right, hence why I said "for no apparent reason".
There seems to be a lack of documentation in this regard.
Julien explicitly asked for the bump for that addition.
Julien - why was that?
I can't exactly remember why... I possibly just assumed that we updated the version every release...
Cheers,
Signature · 1 line
Julien Grall