From: Ian Jackson Subject: Re: [PATCH 1/7] libxl, Introduce dm-version xenstore key. Date: Fri, 7 Oct 2011 18:35:51 +0100 Message-ID: <20111.14455.269057.812001@mariner.uk.xensource.com> References: <1317989418-25463-1-git-send-email-anthony.perard@citrix.com> <1317989418-25463-2-git-send-email-anthony.perard@citrix.com> <1317990495.21903.331.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1317990495.21903.331.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: Anthony PERARD , Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 1/7] libxl, Introduce dm-version xenstore key."): > On Fri, 2011-10-07 at 13:10 +0100, Anthony PERARD wrote: > > The key is /local/domain/$domid/dm-version. > > I've been wondering if we should introduce /libxl/$domid/ as a place for > keeping tooltack internal droppings like this. The danger with putting > stuff in /local/domain is that domains come to rely on them. Also, can't the domain write to /local/domain/$domid ? Which we don't want, in this case. > > + localents[i++] = libxl__strdup(gc, libxl_device_model_version_to_string(dm_info->device_model_version)); > > + > > You don't seem to use this anywhere? Also, like several other lines here, it needs to be wrapped (preferably, to 75 columns or so). > This would be a bug, since it would imply an inconsistent version of > libxl was used to create the domain? (not sure what our policy around > this actually is / should be). No, because the same toolstack can create domains with either version of qemu. Ian.