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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel