From: Ian Campbell Subject: Re: [PATCH 11/29] tools/libxc: noarch common code Date: Thu, 11 Sep 2014 11:52:22 +0100 Message-ID: <1410432742.6166.81.camel@kazak.uk.xensource.com> References: <1410369067-1330-1-git-send-email-andrew.cooper3@citrix.com> <1410369067-1330-12-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1410369067-1330-12-git-send-email-andrew.cooper3@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: Andrew Cooper Cc: Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2014-09-10 at 18:10 +0100, Andrew Cooper wrote: > + * The page of data at the end of 'page' may be a read-only mapping of a > + * running guest; it must not be modified. If no transformation is > + * required, the callee should leave '*pages' unouched. untouched > + * > + * If a transformation is required, the callee should allocate themselves > + * a local page using malloc() and return it via '*page'. > + * > + * The caller shall free() '*page' in all cases. In the case that the > + * callee enounceters an error, it should *NOT* free() the memory it encounters > [...] > + /** > + * Process an individual record from the stream. The caller shall take > + * care of processing common records (e.g. END, PAGE_DATA). > + * > + * @return 0 for success, -1 for failure, or the sentinal value sentinel (might I recommend M-x ispell-region) With the spelling fixed: Acked-by: Ian Campbell