Skip to content

RFC libxl: add driver domain backend daemon

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12libxl/hotplug: add support for getting domidtools/hotplug/Linux/init.d/xencommons tools/libxl/libxl.c tools/libxl/libxl_internal.h+21 -01 reply
2/12libxl: remove unneeded libxl_domain_info in wait_device_connectiontools/libxl/libxl_device.c+0 -101 reply
3/12libxl: make hotplug execution conditional on backend_domid == domidtools/libxl/libxl_device.c+4 -11 reply
4/12libxl: create a local xenstore libxl and device-model dir for gueststools/libxl/libxl_create.c+12 -07 replies
5/12libxl: don't remove device backend path if not localtools/libxl/libxl_device.c+8 -21 reply
6/12libxl: set correct permissions for the full backend pathtools/libxl/libxl_device.c tools/libxl/libxl_internal.h+44 -39 replies
7/12libxl: remove the Qemu bodge for driver domain devicestools/libxl/libxl_device.c+53 -180 replies
8/12libxl: don't launch Qemu on Dom0 for Qdisk devices on driver domainstools/libxl/libxl_dm.c+2 -12 replies
9/12libxl: add Qdisk backend launch helpertools/libxl/libxl_dm.c tools/libxl/libxl_internal.h+157 -90 replies
10/12xl: put daemonize code in it's own functiontools/libxl/xl_cmdimpl.c+58 -440 replies
11/12libxl: revert 326a7b74tools/libxl/libxl.c tools/libxl/libxl_internal.h+0 -80 replies
12/12libxl: add device backend listener in order to launch backendstools/libxl/libxl.c tools/libxl/libxl.h tools/libxl/xl.h +2 more+348 -00 replies

Reviews trailers per patch

4 of 12 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/12A-b
2/12A-b
3/12A-b
4/12
5/12A-b
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC 00/12] libxl: add driver domain backend daemon

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.