All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] xen: add systemd files
@ 2014-03-19 20:58 Luis R. Rodriguez
  2014-03-19 20:58 ` [PATCH v2 1/7] xenstore-read: add support for a retry open limit on xenstored Luis R. Rodriguez
                   ` (6 more replies)
  0 siblings, 7 replies; 37+ messages in thread
From: Luis R. Rodriguez @ 2014-03-19 20:58 UTC (permalink / raw)
  To: xen-devel
  Cc: Ian Campbell, Stefano Stabellini, Luis R. Rodriguez,
	Jan Rękorajski, Ian Jackson, Jacek Konieczny, M A Young

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This adds systemd files to xen based on the last discussions from
the initial attempt. Its best we all work on these upstream rather
than chugging on our own. It addresses the meta variable changes
for paths and also adds a lot more service files / mount / modules
socket files missing. In order to match the existing init script
behaviour I also added a small retry socket helper to xenstore-read.
We may be able to just rely on systemd's socket monitor instead of
the xenstore-read -l but we keep it as-is for now.

As discussed I ended up moving the old LSB init script for xendomains
to sbin to share it with systemd and created a simple wrapper for
init. The new wrapper gets a new -init postfix to distinguish it
but also to help enable us to keep the history of the original
file after the move within git.

Luis R. Rodriguez (7):
  xenstore-read: add support for a retry open limit on xenstored
  xencommons: use the retry limit instead of implementing our own
    timeout
  tools/xendomains: make xl the default
  tools/xendomains: remove old redhat check
  tools/xendomains: do space cleanups
  tools/xendomains: move to sbin and use init helper
  systemd: add support initial xen systemd service files

 .gitignore                                         |  5 ++
 Config.mk                                          |  9 ++-
 Makefile                                           | 11 ++-
 config/StdGNU.mk                                   |  4 +
 tools/hotplug/Linux/Makefile                       | 13 +++-
 tools/hotplug/Linux/init.d/xencommons              | 19 ++---
 tools/hotplug/Linux/init.d/xendomains-init         | 33 +++++++++
 tools/hotplug/Linux/systemd/Makefile               | 72 ++++++++++++++++++
 tools/hotplug/Linux/systemd/oxenstored.service.in  | 23 ++++++
 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 ++++
 .../Linux/systemd/xen.conf.modules-load.d.in       | 16 ++++
 tools/hotplug/Linux/systemd/xenconsoled.service.in | 20 +++++
 tools/hotplug/Linux/systemd/xendomains.service.in  | 16 ++++
 tools/hotplug/Linux/systemd/xenstored.service.in   | 24 ++++++
 tools/hotplug/Linux/systemd/xenstored.socket.in    |  9 +++
 tools/hotplug/Linux/{init.d => }/xendomains        | 86 ++++++++++------------
 tools/xenstore/xenstore_client.c                   | 31 ++++++--
 20 files changed, 373 insertions(+), 75 deletions(-)
 create mode 100644 tools/hotplug/Linux/init.d/xendomains-init
 create mode 100644 tools/hotplug/Linux/systemd/Makefile
 create mode 100644 tools/hotplug/Linux/systemd/oxenstored.service.in
 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/xen.conf.modules-load.d.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
 rename tools/hotplug/Linux/{init.d => }/xendomains (92%)

Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Jan Rękorajski <baggins@pld-linux.org>
Cc: M A Young <m.a.young@durham.ac.uk>
Cc: Jacek Konieczny <jajcus@jajcus.net>
Cc: xen-devel@lists.xenproject.org
-- 
1.9.0


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

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

end of thread, other threads:[~2014-04-28 10:47 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-19 20:58 [PATCH v2 0/7] xen: add systemd files Luis R. Rodriguez
2014-03-19 20:58 ` [PATCH v2 1/7] xenstore-read: add support for a retry open limit on xenstored Luis R. Rodriguez
2014-03-21 15:21   ` Ian Campbell
2014-03-21 15:22     ` Ian Jackson
2014-03-22  1:36       ` Luis R. Rodriguez
2014-03-22  1:33     ` Luis R. Rodriguez
2014-03-24  9:57       ` Ian Campbell
2014-03-21 15:40   ` David Vrabel
2014-03-21 16:01     ` Ian Campbell
2014-03-22  1:43       ` Luis R. Rodriguez
2014-03-24 10:01         ` Ian Campbell
2014-03-22  1:41     ` Luis R. Rodriguez
2014-03-19 20:58 ` [PATCH v2 2/7] xencommons: use the retry limit instead of implementing our own timeout Luis R. Rodriguez
2014-03-21 15:24   ` Ian Campbell
2014-03-19 20:58 ` [PATCH v2 3/7] tools/xendomains: make xl the default Luis R. Rodriguez
2014-03-21 15:26   ` Ian Campbell
2014-03-19 20:58 ` [PATCH v2 4/7] tools/xendomains: remove old redhat check Luis R. Rodriguez
2014-03-21 15:28   ` Ian Campbell
2014-03-22  1:56     ` Luis R. Rodriguez
2014-03-19 20:58 ` [PATCH v2 5/7] tools/xendomains: do space cleanups Luis R. Rodriguez
2014-03-21 15:29   ` Ian Campbell
2014-03-19 20:58 ` [PATCH v2 6/7] tools/xendomains: move to sbin and use init helper Luis R. Rodriguez
2014-03-19 22:03   ` Olaf Hering
2014-03-22  2:00     ` Luis R. Rodriguez
2014-03-21 15:34   ` Ian Campbell
2014-03-22  2:17     ` Luis R. Rodriguez
2014-03-24 10:09       ` Ian Campbell
2014-04-28  5:11         ` Luis R. Rodriguez
2014-04-28  9:15           ` Ian Campbell
2014-04-28 10:47             ` Luis R. Rodriguez
2014-03-19 20:58 ` [PATCH v2 7/7] systemd: add support initial xen systemd service files Luis R. Rodriguez
2014-03-19 21:05   ` Luis R. Rodriguez
2014-03-21 10:08   ` Ian Campbell
2014-03-22  2:26     ` Luis R. Rodriguez
2014-03-24 10:11       ` Ian Campbell
2014-03-24 16:36         ` Luis R. Rodriguez
2014-04-28  5:12         ` Luis R. Rodriguez

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.