xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00 of 29 RFC] libxl: move device plug/unplug to a separate daemon
@ 2012-02-02 13:26 Roger Pau Monne
  2012-02-02 13:26 ` [PATCH 01 of 29 RFC] libxl: Atomicaly check backend state and set it to 5 at device_remove Roger Pau Monne
                   ` (29 more replies)
  0 siblings, 30 replies; 69+ messages in thread
From: Roger Pau Monne @ 2012-02-02 13:26 UTC (permalink / raw)
  To: xen-devel

This is the first attempt to delegate hotplug device plug/unplug to a 
separate daemon. This will also allow to plug/unplug devices from a 
domain different than Dom0, usually called a "driver domain".

This series contain a mix of bug fixes, mainly for device 
unplug/destroy synchronization, and a set of new functions that 
describe a new protocol to be used when delegating the plug/unplug of 
devices to a daemon, called xldeviced (xl-device-daemon).

As a very important note, I would like to add that this has only been 
tested with PV DomUs, and that qdisk support is missing (xldeviced is 
not prepared to launch a qemu-dm to support qdisk devices). I will 
work on that, but I think there's already a lot of stuff on this that 
needs proper review.

The series has the following order:

 * patches 1-15: set everything necessary to execute hotplug scripts 
   from libxl directly.

 * patches 16-25: add necessary libxl functions to delegate hotplug 
   addition to a different daemon

 * patches 26-29: introduce xldeviced and start using it by default.

Patch 20 contains a good description of the interaction between xl and 
xldeviced, and the xenstore entries used to accomplish this task.

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

end of thread, other threads:[~2012-02-21 17:02 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02 13:26 [PATCH 00 of 29 RFC] libxl: move device plug/unplug to a separate daemon Roger Pau Monne
2012-02-02 13:26 ` [PATCH 01 of 29 RFC] libxl: Atomicaly check backend state and set it to 5 at device_remove Roger Pau Monne
2012-02-02 13:26 ` [PATCH 02 of 29 RFC] hotplug/block: get the type of block device from file path (NetBSD) Roger Pau Monne
2012-02-02 13:26 ` [PATCH 03 of 29 RFC] libxl: allow libxl__exec to take a parameter containing the env variables Roger Pau Monne
2012-02-02 13:26 ` [PATCH 04 of 29 RFC] libxl: add libxl__forkexec function to libxl_exec Roger Pau Monne
2012-02-02 13:26 ` [PATCH 05 of 29 RFC] libxl: wait for devices to initialize upon addition to the domain Roger Pau Monne
2012-02-02 13:26 ` [PATCH 06 of 29 RFC] hotplug NetBSD: pass an action instead of a state to hotplug scripts Roger Pau Monne
2012-02-02 13:26 ` [PATCH 07 of 29 RFC] libxl: perform xenstore device cleanup from libxl Roger Pau Monne
2012-02-02 13:26 ` [PATCH 08 of 29 RFC] libxl: remove force parameter from libxl__device_remove Roger Pau Monne
2012-02-02 13:26 ` [PATCH 09 of 29 RFC] libxl: add better error checking on libxl__device_remove Roger Pau Monne
2012-02-02 13:26 ` [PATCH 10 of 29 RFC] libxl: destroy devices before device model Roger Pau Monne
2012-02-02 13:26 ` [PATCH 11 of 29 RFC] libxl: execute hotplug scripts directly from libxl Roger Pau Monne
2012-02-02 13:26 ` [PATCH 12 of 29 RFC] libxl: add hotplug script calling for NetBSD Roger Pau Monne
2012-02-02 13:26 ` [PATCH 13 of 29 RFC] libxl: add hotplug script calls for Linux Roger Pau Monne
2012-02-07  7:02   ` Shriram Rajagopalan
2012-02-07  9:04     ` Roger Pau Monné
2012-02-02 13:26 ` [PATCH 14 of 29 RFC] rc.d NetBSD: don't start xenbackendd by default, only when xend needs it Roger Pau Monne
2012-02-02 13:26 ` [PATCH 15 of 29 RFC] NetBSD/xencommons: remove xend precmd folder creation Roger Pau Monne
2012-02-09 15:34   ` Ian Jackson
2012-02-02 13:26 ` [PATCH 16 of 29 RFC] libxl: introduce libxl__device_hotplug_path Roger Pau Monne
2012-02-02 13:26 ` [PATCH 17 of 29 RFC] libxl: add enum with possible hotplug state Roger Pau Monne
2012-02-02 13:26 ` [PATCH 18 of 29 RFC] libxl: introduce libxl__device_generic_hotplug_add Roger Pau Monne
2012-02-02 13:26 ` [PATCH 19 of 29 RFC] libxl: add libxl__device_hotplug_disconnect Roger Pau Monne
2012-02-02 13:26 ` [PATCH 20 of 29 RFC] libxl: introduce libxl hotplug public API functions Roger Pau Monne
2012-02-08 16:42   ` Ian Jackson
2012-02-09 10:02     ` Stefano Stabellini
2012-02-09 15:22       ` Ian Jackson
2012-02-09 15:32         ` Stefano Stabellini
2012-02-09 15:33           ` Ian Jackson
2012-02-09 15:43             ` Stefano Stabellini
2012-02-09 15:41               ` Ian Jackson
2012-02-09 15:49           ` Ian Campbell
2012-02-09 16:00             ` Stefano Stabellini
2012-02-09 16:01               ` Ian Campbell
2012-02-09 16:18                 ` Stefano Stabellini
2012-02-09 16:40                   ` Ian Campbell
2012-02-09 17:28                     ` Stefano Stabellini
2012-02-14 14:38                     ` Roger Pau Monné
2012-02-14 14:23     ` Roger Pau Monné
2012-02-14 15:48       ` Ian Campbell
2012-02-20 18:52         ` Ian Jackson
2012-02-20 18:55           ` Ian Jackson
2012-02-21 11:04             ` Ian Campbell
2012-02-21 10:38         ` Stefano Stabellini
2012-02-21 16:42           ` Ian Jackson
2012-02-21 17:02             ` Ian Campbell
2012-02-08 16:42   ` Ian Jackson
2012-02-14 14:25     ` Roger Pau Monné
2012-02-02 13:26 ` [PATCH 21 of 29 RFC] libxl: add libxl__parse_hotplug_path Roger Pau Monne
2012-02-02 13:26 ` [PATCH 22 of 29 RFC] libxl: add libxl__parse_disk_hotplug_path Roger Pau Monne
2012-02-02 13:26 ` [PATCH 23 of 29 RFC] libxl: add libxl__parse_nic_hotplug_path Roger Pau Monne
2012-02-08 16:43   ` Ian Jackson
2012-02-02 13:26 ` [PATCH 24 of 29 RFC] libxl: add libxl_setup_hotplug_listener Roger Pau Monne
2012-02-02 13:27 ` [PATCH 25 of 29 RFC] libxl: add libxl_hotplug_dispatch Roger Pau Monne
2012-02-02 18:37   ` Stefano Stabellini
2012-02-02 18:45     ` Roger Pau Monné
2012-02-09 10:03       ` Stefano Stabellini
2012-02-02 13:27 ` [PATCH 26 of 29 RFC] xldeviced: new daemon to execute hotplug scripts Roger Pau Monne
2012-02-02 13:27 ` [PATCH 27 of 29 RFC] init: updated Linux and NetBSD init scripts to launch xldeviced Roger Pau Monne
2012-02-02 13:27 ` [PATCH 28 of 29 RFC] libxl: add libxl__find_free_vdev Roger Pau Monne
2012-02-09 15:40   ` Ian Jackson
2012-02-14 13:36     ` Roger Pau Monné
2012-02-15 17:18       ` Ian Jackson
2012-02-16  8:53         ` Roger Pau Monné
2012-02-02 13:27 ` [PATCH 29 of 29 RFC] libxl: delegate plug/unplug of disk and nic devices to xldeviced Roger Pau Monne
2012-02-09 15:43   ` Ian Jackson
2012-02-14 14:05     ` Roger Pau Monné
2012-02-17 15:45       ` Ian Jackson
2012-02-03 14:06 ` [PATCH 00 of 29 RFC] libxl: move device plug/unplug to a separate daemon Roger Pau Monné

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).