[PATCH for-4.16 0/4] gnttab: fallout/improvements from max version

Roger Pau Monne posted 4 patches 2 weeks, 6 days ago
Failed in applying to current master (apply log)
tools/helpers/init-xenstore-domain.c |  2 +-
tools/libs/light/libxl_create.c      |  2 +-
tools/ocaml/libs/xc/xenctrl_stubs.c  |  3 ++-
tools/python/xen/lowlevel/xc/xc.c    | 10 ++++++----
tools/tests/resource/test-resource.c |  3 +++
tools/tests/tsx/test-tsx.c           |  4 ++++
xen/arch/arm/domain_build.c          |  4 ++--
xen/arch/x86/setup.c                 |  2 +-
xen/include/public/domctl.h          |  1 +
9 files changed, 21 insertions(+), 10 deletions(-)

[PATCH for-4.16 0/4] gnttab: fallout/improvements from max version

Posted by Roger Pau Monne 2 weeks, 6 days ago
Hello,

The first patch introduces some syntactic sugar for setting the max
grant version on the domctl, while the later 3 patches fix missing
occurrences of xen_domctl_createdomain that didn't set the max grant
version. It's likely patches 2 and 3 could be squashed.

All should be considered for the release, or else we need to revert the
grant table version per domain change.

Thanks, Roger.

Roger Pau Monne (4):
  domctl: introduce a macro to set the grant table max version
  tests/resource: set grant version for created domains
  test/tsx: set grant version for created domains
  tools/python: fix python libxc bindings to pass a max grant version

 tools/helpers/init-xenstore-domain.c |  2 +-
 tools/libs/light/libxl_create.c      |  2 +-
 tools/ocaml/libs/xc/xenctrl_stubs.c  |  3 ++-
 tools/python/xen/lowlevel/xc/xc.c    | 10 ++++++----
 tools/tests/resource/test-resource.c |  3 +++
 tools/tests/tsx/test-tsx.c           |  4 ++++
 xen/arch/arm/domain_build.c          |  4 ++--
 xen/arch/x86/setup.c                 |  2 +-
 xen/include/public/domctl.h          |  1 +
 9 files changed, 21 insertions(+), 10 deletions(-)

-- 
2.33.0


Re: [PATCH for-4.16 0/4] gnttab: fallout/improvements from max version

Posted by Jan Beulich 2 weeks, 4 days ago
On 15.11.2021 13:17, Roger Pau Monne wrote:
> Hello,
> 
> The first patch introduces some syntactic sugar for setting the max
> grant version on the domctl, while the later 3 patches fix missing
> occurrences of xen_domctl_createdomain that didn't set the max grant
> version. It's likely patches 2 and 3 could be squashed.
> 
> All should be considered for the release, or else we need to revert the
> grant table version per domain change.
> 
> Thanks, Roger.
> 
> Roger Pau Monne (4):
>   domctl: introduce a macro to set the grant table max version
>   tests/resource: set grant version for created domains
>   test/tsx: set grant version for created domains

I've committed these, but ...

>   tools/python: fix python libxc bindings to pass a max grant version

... this one still lacks a maintainer ack (ignoring the slightly malformed
shape of the ./MAINTAINERS entry, which imo ought to refer to tools/python/
to designate that's a directory).

Jan