From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH v2 0/5] Allow runtime adjustment to log level thresholds
Date: Mon, 4 Jul 2016 16:13:21 +0100 [thread overview]
Message-ID: <1467645206-28142-1-git-send-email-wei.liu2@citrix.com> (raw)
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
next reply other threads:[~2016-07-04 15:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 15:13 Wei Liu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467645206-28142-1-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.