add per-domain and per-cpupool generic parameters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | xen: use macros for filling parameter definition blocksxen/ | +20 | 2 replies | |
| 2/12 | xen: use a structure to define parsing parametersxen/ | +19 | 2 replies | |
| 3/12 | xen: add support for parameter scopesxen/ xen/ | +44 | 0 replies | |
| 4/12 | xen: add a generic flags field to parameter definitionsxen/ xen/ | +29 | 0 replies | |
| 5/12 | xen: add hypercall interfaces for domain and cpupool parameter settingtools/ tools/ xen/ +4 more | +46 | 3 replies | |
| 6/12 | xen: add domain specific parameter supportxen/ xen/ xen/ +5 more | +110 | 0 replies | |
| 7/12 | xen: add domain specific parameter supportxen/ xen/ xen/ +3 more | +62 | 1 reply | |
| 8/12 | tools/libxc: add per domain/cpupool parameter supporttools/ tools/ tools/ | +64 | 0 replies | |
| 9/12 | tools/xl: add support for setting generic per-cpupool parametersdocs/ docs/ tools/ +4 more | +87 | 2 replies | |
| 10/12 | tools/xl: add support for setting generic per-domain parametersdocs/ docs/ tools/ +7 more | +134 | 0 replies | |
| 11/12 | x86: add domain type flags for domain parametersxen/ xen/ | +11 | 0 replies | |
| 12/12 | x86/xpti: add per-domain parameter for controlling xptidocs/ xen/ | +48 | 0 replies |
Reviews trailers per patch
4 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Dario Faggioli | Jan Beulich |
|---|---|---|
| 1/12 | R-b | |
| 2/12 | R-b | A-b |
| 3/12 | ||
| 4/12 | ||
| 5/12 | R-b | |
| 6/12 | ||
| 7/12 | R-b | |
| 8/12 | ||
| 9/12 | ||
| 10/12 | ||
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] add per-domain and per-cpupool generic parameters
Instead of using binary hypervisor interfaces for new parameters of domains or cpupools this patch series adds support for generic text based parameter parsing.
Parameters are defined via new macros similar to those of boot parameters. Parsing of parameter strings is done via the already existing boot parameter parsing function which is extended a little bit.
Parameter settings can either be specified in configuration files of domains or cpupools, or they can be set via new xl sub-commands.
As an example how the infrastructure is being used a per-domain parameter for switching xpti on a per-domain basis is added in the last patch of the series.
Juergen Gross (12):
xen: use macros for filling parameter definition blocks
xen: use a structure to define parsing parameters
xen: add support for parameter scopes
xen: add a generic flags field to parameter definitions
xen: add hypercall interfaces for domain and cpupool parameter setting
xen: add domain specific parameter support
xen: add domain specific parameter support
tools/libxc: add per domain/cpupool parameter support tools/xl: add support for setting generic per-cpupool parameters tools/xl: add support for setting generic per-domain parameters
x86: add domain type flags for domain parameters
x86/xpti: add per-domain parameter for controlling xpti
docs/man/xl.cfg.pod.5.in | 22 +++++++ docs/man/xl.pod.1.in | 25 ++++++++ docs/man/xlcpupool.cfg.pod.5 | 12 ++++ tools/flask/policy/modules/dom0.te | 2 +- tools/libxc/include/xenctrl.h | 18 ++++++ tools/libxc/xc_cpupool.c | 23 +++++++ tools/libxc/xc_domain.c | 23 +++++++ tools/libxc/xc_misc.c | 4 +- tools/libxl/libxl.h | 18 ++++++ tools/libxl/libxl_cpupool.c | 16 +++++ tools/libxl/libxl_create.c | 10 +++ tools/libxl/libxl_domain.c | 47 +++++++++++++++ tools/libxl/libxl_types.idl | 1 + tools/xl/xl.h | 2 + tools/xl/xl_cmdtable.c | 11 ++++ tools/xl/xl_cpupool.c | 39 ++++++++++++ tools/xl/xl_parse.c | 3 + tools/xl/xl_vmcontrol.c | 25 ++++++++ xen/arch/arm/domain.c | 5 ++ xen/arch/x86/domain.c | 9 +++ xen/arch/x86/pv/domain.c | 37 ++++++++++++ xen/common/cpupool.c | 10 +++ xen/common/domain.c | 10 +++ xen/common/domctl.c | 46 ++++++++++++++ xen/common/kernel.c | 93 ++++++++++++++++++++++------ xen/common/sysctl.c | 28 ++++++++- xen/include/asm-x86/domain.h | 6 ++ xen/include/public/domctl.h | 20 +++++- xen/include/public/sysctl.h | 8 ++- xen/include/xen/domain.h | 3 + xen/include/xen/init.h | 117 ++++++++++++++++++++++++------------ xen/include/xen/lib.h | 3 + xen/include/xen/sched.h | 1 + xen/xsm/flask/hooks.c | 3 + xen/xsm/flask/policy/access_vectors | 2 + 35 files changed, 640 insertions(+), 62 deletions(-)
Signature · 7 lines
2.16.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel