From: Roger Pau Monne Subject: [PATCH v1 00/12] libxl: add driver domain backend daemon Date: Wed, 2 Oct 2013 11:24:22 +0200 Message-ID: <1380705874-58491-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: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VRIfg-0008B9-5N for xen-devel@lists.xenproject.org; Wed, 02 Oct 2013 09:24:40 +0000 Received: from gateway-cbg.eng.citrite.net ([10.80.16.17] helo=localhost.localdomain) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1VRIfc-0000SC-B1 for xen-devel@lists.xenproject.org; Wed, 02 Oct 2013 10:24:36 +0100 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.xenproject.org List-Id: xen-devel@lists.xenproject.org This patch series introduces support to launch device backends from driver domains using libxl, removing the need to setup udev on driver domains. The daemon currently supports vbds, vifs and qdisks as backends. Patches from 1 to 11 focus on getting libxl to work on driver domains, and add several helper functions that will be used to build the infraestructure needed for libxl to work on domains different than Dom0. The last patch (12) adds a new xl command, "devd", that can be used to launch a daemon that will listen to changes in the xenstore "backend" directory for the domain and perform the necessary actions to attach the devices. Changes since RFC: * Added documentation for the new xenstore paths created on path 4. * Synchronize the removal of devices from the driver domain with the toolstack domain. * Acked *[PATCH v1 01/12] libxl/hotplug: add support for getting domid *[PATCH v1 02/12] libxl: remove unneeded libxl_domain_info in *[PATCH v1 03/12] libxl: make hotplug execution conditional on [PATCH v1 04/12] libxl: create a local xenstore libxl and [PATCH v1 05/12] libxl: don't remove device frontend path from [PATCH v1 06/12] libxl: synchronize device removal when using driver [PATCH v1 07/12] libxl: remove the Qemu bodge for driver domain [PATCH v1 08/12] libxl: don't launch Qemu on Dom0 for Qdisk devices [PATCH v1 09/12] libxl: add Qdisk backend launch helper [PATCH v1 10/12] xl: put daemonize code in it's own function [PATCH v1 11/12] libxl: revert 326a7b74 [PATCH v1 12/12] libxl: add device backend listener in order to