[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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(-)

-- 
2.16.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.