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

Re: [Xen-devel] [PATCH v2 2/6] tools/libxl: Update datacopier to support sending data only



On Fri, 2015-03-06 at 19:05 +0000, Andrew Cooper wrote:
> From: Wen Congyang <wency@xxxxxxxxxxxxxx>
> 
> Currently, starting a datacopier requires a valid read and write fd, but this
> is a problem when purely sending data from a local buffer to a writable fd.
> 
> The prefixdata mechanism already exists and works for inserting data from a
> local buffer ahead of reading from the read fd.
> 
> Make the lack of a read fd non-fatal.  A datacopier with no read fd, but some
> prefixdata will write the prefixdata to the write fd and complete 
> successfully.
> 
> Signed-off-by: Wen Congyang <wency@xxxxxxxxxxxxxx>
> [Rewrite commit message]
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
> CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> CC: Wei Liu <wei.liu2@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>



_______________________________________________
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®.