> On 17 Sep 2021, at 16:46, Roger Pau Monne <roger....@citrix.com> wrote:
>
> Hello,
>
> The first two patches of this series allows setting the preisoutly host
> wide command line `gnttab` option on a per domain basis. That means
> selecting the max allowed grant table version and whether transitive
> grants are allowed.
>
> The last 4 patches attempt to implement support for creating guests
> without grant table support at all. This requires some changes to
> xenstore in order to map shared ring using foreign memory instead of
> grant table.
>
> Note that patch 5 will break the save format for xenstore records, and
> should not be applied.
Has this relevance for the format used by oxenstored?
>
> Thanks, Roger.
>
> Roger Pau Monne (6):
> gnttab: allow setting max version per-domain
> grant: allow per-domain control over transitive grants
> tools/console: use xenforeigmemory to map console ring
> tools/xenstored: use atexit to close interfaces
> tools/xenstored: restore support for mapping ring as foreign memory
> gnttab: allow disabling grant table per-domain
>
> docs/man/xl.cfg.5.pod.in | 12 +++
> docs/man/xl.conf.5.pod.in | 14 +++
> tools/console/Makefile | 4 +-
> tools/console/daemon/io.c | 25 ++++-
> tools/helpers/init-xenstore-domain.c | 1 +
> tools/include/libxl.h | 14 +++
> tools/libs/light/libxl_create.c | 4 +
> tools/libs/light/libxl_dm.c | 2 +
> tools/libs/light/libxl_dom.c | 2 +-
> tools/libs/light/libxl_types.idl | 2 +
> tools/ocaml/libs/xc/xenctrl.ml | 5 +
> tools/ocaml/libs/xc/xenctrl.mli | 5 +
> tools/ocaml/libs/xc/xenctrl_stubs.c | 12 ++-
> tools/xenstore/Makefile | 4 +-
> tools/xenstore/include/xenstore_state.h | 1 +
> tools/xenstore/xenstored_core.h | 2 +-
> tools/xenstore/xenstored_domain.c | 120 +++++++++++++++---------
> tools/xl/xl.c | 15 +++
> tools/xl/xl.h | 2 +
> tools/xl/xl_parse.c | 13 +++
> xen/arch/arm/domain_build.c | 4 +
> xen/arch/x86/setup.c | 2 +
> xen/common/domain.c | 4 +-
> xen/common/grant_table.c | 119 ++++++++++++++++++++++-
> xen/include/public/domctl.h | 13 ++-
> xen/include/xen/grant_table.h | 7 +-
> 26 files changed, 341 insertions(+), 67 deletions(-)
>
> --
> 2.33.0
>