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

[Xen-devel] [PATCH v2 0/7] xen: add systemd files



From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx>

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@xxxxxxxxxxxxx>
Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Cc: Jan RÄkorajski <baggins@xxxxxxxxxxxxx>
Cc: M A Young <m.a.young@xxxxxxxxxxxx>
Cc: Jacek Konieczny <jajcus@xxxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
-- 
1.9.0


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

 


Rackspace

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