From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 00 of 25] libxc: Hypercall buffers Date: Wed, 27 Oct 2010 16:53:59 +0200 Message-ID: <20101027145359.GA32692@aepfle.de> References: <20101026153713.GA17044@aepfle.de> <1288110337.8361.120.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <1288110337.8361.120.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, Oct 26, Ian Campbell wrote: > On Tue, 2010-10-26 at 16:37 +0100, Olaf Hering wrote: > > Ian, > > > > is the usage like shown below ok, adding an offset +start to the > > initial buffer? > > Unfortunately I think you need to extend the infrastructure to make it > work. This should work as well, using existing code: err = do_memory_op(xch, cmd | (start << MEMOP_EXTENT_SHIFT), reservation, len); Olaf