xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xen.org
Subject: [PATCH 0/5] libxl: call hotplug scripts from libxl
Date: Mon, 16 Apr 2012 16:06:39 +0100	[thread overview]
Message-ID: <1334588804-7755-1-git-send-email-roger.pau@citrix.com> (raw)

This series removes the use of udev rules to call hotplug scripts when using
libxl. Scripts are directly called from the toolstack at the necessary points,
making use of the new event library and it's fork support.

[PATCH 1/5] libxl: allow libxl__exec to take a parameter containing

Small change to libxl__exec, so we can pass an array of env variables.

[PATCH 2/5] libxl: call hotplug scripts from libxl for vbd

Much of the meat is in this patch and the following one. Most significant
changes in this patch, (apart from the introduction of the hotplug functions),
is the addition of a new xenstore entry in each backend directory, that tells
the hotplug script wheter it should be executed from udev or form the toolstack.

[PATCH 3/5] libxl: call hotplug scripts from libxl for vif

Another xenstore backend entry is added on this patch for each nic device,
called "type", it stores the type of the interface (currently only VIF or
IOEMU), so that the plug and unplug operations know with what they are dealing.

[PATCH 4/5] libxl: add "downscript=no" to Qemu call
[PATCH 5/5] libxl: clean xenstore console directories recursively on

Two minor bugfixes that I've found while working on this hotplug series.

             reply	other threads:[~2012-04-16 15:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 15:06 Roger Pau Monne [this message]
2012-04-16 15:06 ` [PATCH 1/5] libxl: allow libxl__exec to take a parameter containing the env variables Roger Pau Monne
2012-04-16 15:06 ` [PATCH 2/5] libxl: call hotplug scripts from libxl for vbd Roger Pau Monne
2012-04-16 16:44   ` Ian Campbell
2012-04-17  8:54     ` Roger Pau Monne
2012-04-17  8:56       ` Ian Campbell
2012-04-17  9:13         ` Roger Pau Monne
2012-04-16 15:06 ` [PATCH 3/5] libxl: call hotplug scripts from libxl for vif Roger Pau Monne
2012-04-16 15:06 ` [PATCH 4/5] libxl: add "downscript=no" to Qemu call Roger Pau Monne
2012-04-16 16:48   ` Ian Campbell
2012-04-16 15:06 ` [PATCH 5/5] libxl: clean xenstore console directories recursively on destroy Roger Pau Monne
2012-04-16 16:50   ` Ian Campbell
2012-04-16 17:05     ` Roger Pau Monne
2012-04-17 14:18     ` Roger Pau Monne
2012-04-17 14:21       ` Ian Campbell
2012-04-17 14:32         ` Roger Pau Monne
2012-04-17 14:37           ` Ian Campbell
2012-04-17 14:49             ` Roger Pau Monne

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=1334588804-7755-1-git-send-email-roger.pau@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=xen-devel@lists.xen.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).