On Fri, 2015-03-06 at 19:05 +0000, Andrew Cooper wrote: > From: Wen Congyang <we...@cn.fujitsu.com> > > 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 <we...@cn.fujitsu.com> > [Rewrite commit message] > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > CC: Ian Campbell <ian.campb...@citrix.com> > CC: Ian Jackson <ian.jack...@eu.citrix.com> > CC: Wei Liu <wei.l...@citrix.com>
Acked-by: Ian Campbell <ian.campb...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel