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

Re: [Xen-devel] [PATCH 22/29] tools/libxl: Allow limiting amount copied by datacopier



On 09/11/2014 01:02 PM, Ian Campbell wrote:
On Wed, 2014-09-10 at 18:11 +0100, Andrew Cooper wrote:
From: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>

Add a parameter, maxread, to limit the amount of data read from the
source fd of a datacopier.

Why is this useful?


It is useful for splicing _part_ of a stream from one fd to another rather than splicing the whole stream. i.e. it is used in this series for writing out the emulator context part of the libxl stream to a qemu save file.

--
Ross Lagerwall

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