From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: [PATCH 0/5] libxl: call hotplug scripts from libxl Date: Mon, 16 Apr 2012 16:06:39 +0100 Message-ID: <1334588804-7755-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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.