From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
To: xen-devel@lists.xenproject.org
Cc: "Luis R. Rodriguez" <mcgrof@suse.com>
Subject: [PATCH v7 0/8] xen: add systemd support
Date: Thu, 17 Jul 2014 16:28:11 -0700 [thread overview]
Message-ID: <1405639699-13494-1-git-send-email-mcgrof@do-not-panic.com> (raw)
From: "Luis R. Rodriguez" <mcgrof@suse.com>
This v7 series is submitted after making a few small changes based on review
from the v6 series, skips the already merged patches and is rebased on top of
today's xen tip tree.
The null character stuff was removed since after a bit more testing witout it I
was not able to see issues without it. Then we had the autoconf juju stuff
which to the best of my ability I wrestled with. The only pending item I am
aware of on this series is the question of whether or not to merge the ocaml C
extensions for systemd now, or wait until this is baked properly into Ocaml
libraries somewhere and then I guess those propagated to Linux distributions.
Someone will have to make that call -- but it certainly would be odd to see
such small implementation have to barred from being merged because Ocaml lacks
a proper implementation on systemd. That would essentially impede progress on
Xen due to Ocaml limitations, and lets face it, Linux should evolve faster than
Ocaml, and people are using C, not Ocaml for generic interfaces. This is a
rather more core observation but I feel the need to highlight this as an
expectation so that developers are really aware, it should be perhaps also
something discussed at the xen developer summit.
Luis R. Rodriguez (8):
xenstored: enable usage of config.h on both xenstored and oxenstored
cxenstored: add support for systemd active sockets
oxenstored: add support for systemd active sockets
oxenstored: force FD_CLOEXEC with Unix.set_close_on_exec on LSB init
autoconf: xen: move standard path variables to config/Paths.mk.in
xencommons: move module list into a generic place
autoconf: xen: enable explicit preference option for xenstored
preference
systemd: add xen systemd service and module files
.gitignore | 6 +
Makefile | 6 +-
README | 67 +++++++++
config/Linux.modules | 20 +++
config/Paths.mk.in | 37 +++++
config/Stubdom.mk.in | 1 +
config/Tools.mk.in | 6 +
configure.ac | 8 +-
m4/README.source | 8 ++
m4/paths.m4 | 61 +++++++++
m4/systemd.m4 | 123 +++++++++++++++++
m4/xenstored.m4 | 56 ++++++++
tools/Rules.mk | 1 +
tools/configure.ac | 30 +++-
tools/hotplug/Linux/Makefile | 42 +++++-
...ysconfig.xencommons => sysconfig.xencommons.in} | 13 +-
.../Linux/init.d/{xencommons => xencommons.in.in} | 24 +---
tools/hotplug/Linux/systemd/Makefile | 67 +++++++++
tools/hotplug/Linux/systemd/proc-xen.mount.in | 9 ++
.../Linux/systemd/var-lib-xenstored.mount.in | 13 ++
.../systemd/xen-qemu-dom0-disk-backend.service.in | 22 +++
.../hotplug/Linux/systemd/xen-watchdog.service.in | 13 ++
tools/hotplug/Linux/systemd/xenconsoled.service.in | 20 +++
tools/hotplug/Linux/systemd/xendomains.service.in | 16 +++
tools/hotplug/Linux/systemd/xenstored.service.in | 27 ++++
tools/hotplug/Linux/systemd/xenstored.socket.in | 11 ++
tools/hotplug/Linux/systemd/xenstored_ro.socket.in | 11 ++
tools/ocaml/xenstored/Makefile | 15 +-
tools/ocaml/xenstored/systemd.ml | 17 +++
tools/ocaml/xenstored/systemd.mli | 24 ++++
tools/ocaml/xenstored/systemd_stubs.c | 152 +++++++++++++++++++++
tools/ocaml/xenstored/utils.ml | 21 ++-
tools/ocaml/xenstored/xenstored.ml | 2 +
tools/xenstore/Makefile | 7 +
tools/xenstore/xenstored_core.c | 104 +++++++++++++-
35 files changed, 1017 insertions(+), 43 deletions(-)
create mode 100644 config/Linux.modules
create mode 100644 config/Paths.mk.in
create mode 100644 m4/paths.m4
create mode 100644 m4/systemd.m4
create mode 100644 m4/xenstored.m4
rename tools/hotplug/Linux/init.d/{sysconfig.xencommons => sysconfig.xencommons.in} (63%)
rename tools/hotplug/Linux/init.d/{xencommons => xencommons.in.in} (82%)
create mode 100644 tools/hotplug/Linux/systemd/Makefile
create mode 100644 tools/hotplug/Linux/systemd/proc-xen.mount.in
create mode 100644 tools/hotplug/Linux/systemd/var-lib-xenstored.mount.in
create mode 100644 tools/hotplug/Linux/systemd/xen-qemu-dom0-disk-backend.service.in
create mode 100644 tools/hotplug/Linux/systemd/xen-watchdog.service.in
create mode 100644 tools/hotplug/Linux/systemd/xenconsoled.service.in
create mode 100644 tools/hotplug/Linux/systemd/xendomains.service.in
create mode 100644 tools/hotplug/Linux/systemd/xenstored.service.in
create mode 100644 tools/hotplug/Linux/systemd/xenstored.socket.in
create mode 100644 tools/hotplug/Linux/systemd/xenstored_ro.socket.in
create mode 100644 tools/ocaml/xenstored/systemd.ml
create mode 100644 tools/ocaml/xenstored/systemd.mli
create mode 100644 tools/ocaml/xenstored/systemd_stubs.c
--
2.0.1
next reply other threads:[~2014-07-17 23:28 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-17 23:28 Luis R. Rodriguez [this message]
2014-07-17 23:28 ` [PATCH v7 1/8] xenstored: enable usage of config.h on both xenstored and oxenstored Luis R. Rodriguez
2014-07-17 23:28 ` [PATCH v7 2/8] cxenstored: add support for systemd active sockets Luis R. Rodriguez
2014-07-24 15:10 ` Ian Campbell
2014-07-24 15:54 ` Ian Campbell
2014-07-25 22:45 ` Luis R. Rodriguez
2014-07-28 9:48 ` Ian Campbell
2014-07-28 15:06 ` Luis R. Rodriguez
2015-08-05 10:06 ` George Dunlap
2015-08-05 10:17 ` Ian Campbell
2015-08-05 10:56 ` George Dunlap
2015-08-05 11:11 ` Ian Campbell
2015-08-05 11:14 ` Ian Campbell
2015-08-05 11:21 ` George Dunlap
2015-08-05 11:27 ` Ian Campbell
2015-08-05 13:17 ` Wei Liu
2015-08-05 16:30 ` George Dunlap
2015-08-05 17:24 ` Wei Liu
2015-08-05 18:19 ` Wei Liu
2015-08-06 9:13 ` Ian Campbell
2015-08-06 9:20 ` Wei Liu
2015-08-06 9:29 ` Ian Campbell
2015-08-06 9:36 ` Wei Liu
2015-08-06 10:17 ` Wei Liu
2015-08-06 10:48 ` Ian Campbell
2015-08-06 10:56 ` Wei Liu
2015-08-06 11:03 ` Ian Campbell
2015-08-06 13:56 ` George Dunlap
2014-07-17 23:28 ` [PATCH v7 3/8] oxenstored: " Luis R. Rodriguez
2014-07-17 23:28 ` [PATCH v7 4/8] oxenstored: force FD_CLOEXEC with Unix.set_close_on_exec on LSB init Luis R. Rodriguez
2014-07-24 15:09 ` Ian Campbell
2014-07-17 23:28 ` [PATCH v7 5/8] autoconf: xen: move standard path variables to config/Paths.mk.in Luis R. Rodriguez
2014-07-24 15:29 ` Ian Campbell
2014-07-17 23:28 ` [PATCH v7 6/8] xencommons: move module list into a generic place Luis R. Rodriguez
2014-07-24 15:35 ` Ian Campbell
2014-07-25 23:16 ` Luis R. Rodriguez
2014-07-17 23:28 ` [PATCH v7 7/8] autoconf: xen: enable explicit preference option for xenstored preference Luis R. Rodriguez
2014-07-24 15:40 ` Ian Campbell
2014-07-25 23:25 ` Luis R. Rodriguez
2014-07-17 23:28 ` [PATCH v7 8/8] systemd: add xen systemd service and module files Luis R. Rodriguez
2014-07-24 15:47 ` Ian Campbell
2014-07-25 23:34 ` Luis R. Rodriguez
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=1405639699-13494-1-git-send-email-mcgrof@do-not-panic.com \
--to=mcgrof@do-not-panic.com \
--cc=mcgrof@suse.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 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).