WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values)
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Fri, 28 Jan 2011 13:27:11 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 28 Jan 2011 05:26:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19778.46683.733579.390062@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1296150064-31991-1-git-send-email-ian.jackson@xxxxxxxxxxxxx> <1296150064-31991-2-git-send-email-ian.jackson@xxxxxxxxxxxxx> <1296150064-31991-3-git-send-email-ian.jackson@xxxxxxxxxxxxx> <1296150064-31991-4-git-send-email-ian.jackson@xxxxxxxxxxxxx> <alpine.DEB.2.00.1101271832240.7277@kaball-desktop> <19777.49322.747849.408538@xxxxxxxxxxxxxxxxxxxxxxxx> <19777.53024.392960.80045@xxxxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1101281222171.7277@kaball-desktop> <19778.46683.733579.390062@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Fri, 28 Jan 2011, Ian Jackson wrote:
> 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.
> 

domid 0 or domid > DOMID_FIRST_RESERVED on entry


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>