[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/6] tools/libxl: Improvements to libxl__datacopier



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 v3:
 * Rename maxread to bytes_to_read with -1 being a sentinel for "until EOF"
 * Update a couple of comments

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: Adjust datacopiers POLLHUP handling when the fd is also
    readable

Ross Lagerwall (3):
  tools/libxl: Avoid overrunning static buffer with prefixdata
  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    | 93 +++++++++++++++++++++++++++---------------
 tools/libxl/libxl_bootloader.c |  2 +
 tools/libxl/libxl_dom.c        |  1 +
 tools/libxl/libxl_internal.h   | 25 +++++++++++-
 4 files changed, 86 insertions(+), 35 deletions(-)

-- 
2.1.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.