Skip to content

libxl: new hotplug calling convention

Roger Pau Monne xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 2 repliesIn review
  2. v27 patches 11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7libxl: group hotplug related variablestools/libxl/libxl_device.c tools/libxl/libxl_internal.h tools/libxl/libxl_linux.c +1 more+20 -150 replies
2/7libxl: add new hotplug interface support to hotplug script callersdocs/misc/libxl-hotplug-interface.txt tools/libxl/libxl_device.c tools/libxl/libxl_internal.h +2 more+271 -170 replies
3/7libxl: add support for hotplug interface v2 in domain creation/destroytools/libxl/libxl.c tools/libxl/libxl_create.c tools/libxl/libxl_device.c +2 more+400 -231 reply
4/7libxl: chain prepare and attach in libxl_device_disk_addtools/libxl/libxl.c+33 -40 replies
5/7libxl: add disk specific remove functionstools/libxl/libxl.c+16 -30 replies
6/7libxl: add local attach support for new hotplug scriptstools/libxl/libxl.c tools/libxl/libxl_bootloader.c tools/libxl/libxl_internal.h+76 -120 replies
7/7hotplug/Linux: add iscsi block hotplug scripttools/hotplug/Linux/Makefile tools/hotplug/Linux/block-iscsi+279 -00 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan JacksonGeorge Dunlap
SeriesA-b
1/7A-b
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v3 thread

Cover letter [PATCH v3 0/7] libxl: new hotplug calling convention

This series implements a new hoplug calling convention for libxl.

The aim of this new convention is to reduce the blackout phase of migration when using complex hotplug scripts, like iSCSI or other kind of storage backends that might have a non trivial setup time.

Major changes from v2 are the addition of HOTPLUG_PATH/libxl_* to the list of reserved entries, and the rebase of the whole series on top of current xen-unstable commit.

Thanks for the comments, Roger.

Branch available in the git repository at:
git://xenbits.xen.org/people/royger/xen.git iscsi_v3

* Acked

Roger Pau Monne (7):
*libxl: group hotplug related variables
libxl: add new hotplug interface support to hotplug script callers
libxl: add support for hotplug interface v2 in domain creation/destroy
libxl: chain prepare and attach in libxl_device_disk_add
libxl: add disk specific remove functions
libxl: add local attach support for new hotplug scripts hotplug/Linux: add iscsi block hotplug script

 docs/misc/libxl-hotplug-interface.txt |  184 +++++++++++++++++++++
 tools/hotplug/Linux/Makefile          |    1 +
 tools/hotplug/Linux/block-iscsi       |  278 ++++++++++++++++++++++++++++++++
 tools/libxl/libxl.c                   |  286 ++++++++++++++++++++++++++++++---
 tools/libxl/libxl_bootloader.c        |    1 +
 tools/libxl/libxl_create.c            |   32 ++++-
 tools/libxl/libxl_device.c            |  221 +++++++++++++++++++++++---
 tools/libxl/libxl_internal.h          |   83 +++++++++-
 tools/libxl/libxl_linux.c             |   73 ++++++---
 tools/libxl/libxl_netbsd.c            |    4 +-
 tools/libxl/libxl_types.idl           |    1 +
 tools/libxl/libxl_types_internal.idl  |    5 +
 12 files changed, 1095 insertions(+), 74 deletions(-)
 create mode 100644 docs/misc/libxl-hotplug-interface.txt
 create mode 100644 tools/hotplug/Linux/block-iscsi