From: Andrew Cooper Subject: [PATCH v2 0/6] tools/libxl: Improvements to libxl__datacopier Date: Fri, 6 Mar 2015 19:05:35 +0000 Message-ID: <1425668741-28003-1-git-send-email-andrew.cooper3@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 Cc: Wei Liu , Ian Campbell , Wen Congyang , Andrew Cooper , Ian Jackson , Ross Lagerwall List-Id: xen-devel@lists.xenproject.org To support migration v2, we need far more flexibility out of the datacopier. This series adds the ability to read from an fd into a local buffer and to copy a specific number of bytes rather than to EOF. It also contains bugfixes related to writing from a local buffer, and POLLHUP handling. Changes in v2: * Rewrite most commit message (but no code change) * Rework the POLLHUP fix from scratch Andrew Cooper (2): tools/libxl: Introduce min and max macros tools/libxl: Fix datacopier POLLHUP handling to not always be fatal Ross Lagerwall (3): tools/libxl: Allow adding larger amounts of prefixdata to datacopier tools/libxl: Allow limiting amount copied by datacopier tools/libxl: Extend datacopier to support reading into a buffer Wen Congyang (1): tools/libxl: Update datacopier to support sending data only tools/libxl/libxl_aoutils.c | 121 +++++++++++++++++++++++++--------------- tools/libxl/libxl_bootloader.c | 24 +++++++- tools/libxl/libxl_dom.c | 1 + tools/libxl/libxl_internal.h | 35 ++++++++++-- 4 files changed, 129 insertions(+), 52 deletions(-) -- 1.7.10.4