From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH for-4.6 v2 4/6] tools/libxl: Prepare to write multiple records with EMULATOR headers Date: Tue, 4 Aug 2015 10:59:49 +0100 Message-ID: <1438682389.31129.83.camel@citrix.com> References: <1438617395-20329-1-git-send-email-andrew.cooper3@citrix.com> <1438617395-20329-5-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: <1438617395-20329-5-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 , Xen-devel Cc: Wei Liu , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Mon, 2015-08-03 at 16:56 +0100, Andrew Cooper wrote: > With the newly specified EMULATOR_XENSTORE_DATA record, there are two > libxl records with an emulator subheader. Refactor the existing code to > make future additions easier, and rename some functions for consistency > with the new scheme. > > * Calculate the subheader at stream start time, rather than on the fly. > Its contents are not going to change. > * Introduce a new setup_emulator_write() to insert a sub header in the > appropriate place before a blob of data. > * Rename *toolstack_* to *emulator_xenstore_* > * Rename *emulator_* to *emulator_context_* > > No functional change. > > Signed-off-by: Andrew Cooper > --- Acked-by: Ian Campbell