xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Allow runtime adjustment to log level thresholds
@ 2016-07-04 15:13 Wei Liu
  2016-07-04 15:13 ` [PATCH v2 1/5] xen/console: consolidate log levels to an array Wei Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Wei Liu @ 2016-07-04 15:13 UTC (permalink / raw)
  To: Xen-devel; +Cc: Wei Liu

Previously Jan posted [0]. The downside of that approach is that we need to
rework log level number space to make it suitable for stable API (safe against
addition and removal of numbers).

This version changes the interface to use buffers that contain string
representation of log level. User space libraries won't care about what is
inside. The parsing and interpretation is up to the hypervisor.

Wei.

[0] <56D9C80702000078000D9910@prv-mh.provo.novell.com>

Wei Liu (5):
  xen/console: consolidate log levels to an array
  xen/console: allow log level threshold adjustments
  libxc: wrapper for log level sysctl
  libxl: introduce APIs to get and set log level
  xl: new loglvl command

 docs/man/xl.pod.1.in                |  22 +++
 tools/flask/policy/modules/dom0.te  |   2 +-
 tools/libxc/include/xenctrl.h       |   6 +
 tools/libxc/xc_misc.c               | 143 ++++++++++++++++
 tools/libxl/libxl.c                 |  40 +++++
 tools/libxl/libxl.h                 |  11 ++
 tools/libxl/xl.h                    |   1 +
 tools/libxl/xl_cmdimpl.c            |  49 ++++++
 tools/libxl/xl_cmdtable.c           |   6 +
 xen/common/sysctl.c                 |   5 +
 xen/drivers/char/console.c          | 314 +++++++++++++++++++++++++++++++++++-
 xen/include/public/sysctl.h         |  41 +++++
 xen/include/xen/console.h           |   2 +
 xen/xsm/flask/hooks.c               |   3 +
 xen/xsm/flask/policy/access_vectors |   2 +
 15 files changed, 639 insertions(+), 8 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-07-07 11:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-04 15:13 [PATCH v2 0/5] Allow runtime adjustment to log level thresholds Wei Liu
2016-07-04 15:13 ` [PATCH v2 1/5] xen/console: consolidate log levels to an array Wei Liu
2016-07-04 15:28   ` Wei Liu
2016-07-07 10:39   ` Jan Beulich
2016-07-04 15:13 ` [PATCH v2 2/5] xen/console: allow log level threshold adjustments Wei Liu
2016-07-05 17:52   ` Daniel De Graaf
2016-07-06 11:14   ` Ian Jackson
2016-07-07 11:51   ` Jan Beulich
2016-07-04 15:13 ` [PATCH v2 3/5] libxc: wrapper for log level sysctl Wei Liu
2016-07-06 11:11   ` Ian Jackson
2016-07-04 15:13 ` [PATCH v2 4/5] libxl: introduce APIs to get and set log level Wei Liu
2016-07-06 11:15   ` Ian Jackson
2016-07-04 15:13 ` [PATCH v2 5/5] xl: new loglvl command Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).