On Mon, 2015-03-16 at 13:29 +0000, Ross Lagerwall wrote: > Currently, a datacopier will unconditionally read until EOF on its read fd. > > For migration v2, libxl needs to read records of a specific length out of the > migration stream, without reading any further data. > > Introduce a parameter, bytes_to_read, which may be used to stop the datacopier > ahead of reaching EOF. If bytes_to_read is set to -1, then the datacopier will > read until EOF. > > Signed-off-by: Ross Lagerwall <ross.lagerw...@citrix.com> > [Rewrite commit message] > Signed-off-by: Andrew Cooper <andrew.coop...@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