From: Ian Jackson Subject: Re: [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values) Date: Fri, 28 Jan 2011 12:28:11 +0000 Message-ID: <19778.46683.733579.390062@mariner.uk.xensource.com> References: <1296150064-31991-1-git-send-email-ian.jackson@eu.citrix.com> <1296150064-31991-2-git-send-email-ian.jackson@eu.citrix.com> <1296150064-31991-3-git-send-email-ian.jackson@eu.citrix.com> <1296150064-31991-4-git-send-email-ian.jackson@eu.citrix.com> <19777.49322.747849.408538@mariner.uk.xensource.com> <19777.53024.392960.80045@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values)"): > On Thu, 27 Jan 2011, Ian Jackson wrote: > > int libxl__domain_make(libxl_ctx *ctx, libxl_domain_create_info *info, > > - uint32_t *domid) > > + uint32_t *domid /* domid 0 or ~0 on entry; on exit > > + valid, perhaps >0 (even on error) */) > > can you please change this comment too? What do you think would be clearer ? -1 isn't right since a uint32_t can't have the value -1. Ian.