Add support for limiting the optional Xenstore features via domain
configuration. This will be needed when adding features like limiting
the scope of Xenstore watch events.
This patch series is handling only the xl/libxl side, libxenstore and
C Xenstore (xenstored and xenstore-stubdom). Oxenstored is not covered.
Changes in V2:
- added Jason's Reviewed-by: tags
- a small fix of patch 4
Juergen Gross (7):
tools/libs/store: add get- and set-feature related functions
tools/xenstored: support specification of migration stream version
tools/xenstored: add missing migration record definitions
tools/xenstored: add server feature support
tools/xenstored: support SET/GET_FEATURE commands
tools/xl: add available Xenstore features to xl info output
tools: allow to limit xenstore features via guest config
docs/man/xl.cfg.5.pod.in | 36 ++++++++
tools/golang/xenlight/helpers.gen.go | 2 +
tools/golang/xenlight/types.gen.go | 1 +
tools/include/libxl.h | 6 ++
tools/include/xenstore.h | 13 +++
tools/libs/light/libxl_dom.c | 12 +++
tools/libs/light/libxl_types.idl | 1 +
tools/libs/store/Makefile | 2 +-
tools/libs/store/libxenstore.map | 6 ++
tools/libs/store/xs.c | 49 +++++++++++
tools/xenstored/control.c | 6 +-
tools/xenstored/core.c | 4 +
tools/xenstored/domain.c | 120 ++++++++++++++++++++++++++-
tools/xenstored/domain.h | 11 +++
tools/xenstored/lu.c | 35 ++++++--
tools/xenstored/lu.h | 3 +-
tools/xenstored/xenstore_state.h | 31 ++++++-
tools/xl/Makefile | 3 +-
tools/xl/xl_info.c | 22 +++++
tools/xl/xl_parse.c | 3 +
tools/xs-clients/xenstore_control.c | 41 ++++++---
21 files changed, 380 insertions(+), 27 deletions(-)
--
2.43.0