From: Ian Campbell Subject: Re: [PATCH 22/29] tools/libxl: Allow limiting amount copied by datacopier Date: Thu, 11 Sep 2014 13:40:03 +0100 Message-ID: <1410439203.25388.14.camel@kazak.uk.xensource.com> References: <1410369067-1330-1-git-send-email-andrew.cooper3@citrix.com> <1410369067-1330-23-git-send-email-andrew.cooper3@citrix.com> <1410436937.25388.4.camel@kazak.uk.xensource.com> <54119435.3030608@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54119435.3030608@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ross Lagerwall Cc: Andrew Cooper , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, 2014-09-11 at 13:23 +0100, Ross Lagerwall wrote: > 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 > >> > >> 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. Thanks, again this should be part of the ocmmit message.