From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: [PATCH v2] libxl: new hotplug calling convention Date: Mon, 18 Mar 2013 12:47:04 +0100 Message-ID: <1363607231-35228-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 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. Thanks for the comments, Roger. Branch available in the git repository at: git://xenbits.xen.org/people/royger/xen.git iscsi_v2 * 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 | 179 +++++++++++++++++++ tools/hotplug/Linux/Makefile | 1 + tools/hotplug/Linux/block-iscsi | 278 ++++++++++++++++++++++++++++++ tools/libxl/libxl.c | 302 ++++++++++++++++++++++++++++++--- 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 | 71 ++++++--- tools/libxl/libxl_netbsd.c | 4 +- tools/libxl/libxl_types.idl | 1 + tools/libxl/libxl_types_internal.idl | 5 + 12 files changed, 1106 insertions(+), 72 deletions(-) create mode 100644 docs/misc/libxl-hotplug-interface.txt create mode 100644 tools/hotplug/Linux/block-iscsi