From: Ian Jackson Subject: Re: Re: [PATCH] libxl: initialize domid to 0 in libxl__create_stubdom Date: Tue, 21 Jun 2011 13:28:12 +0100 Message-ID: <19968.36444.26850.724089@mariner.uk.xensource.com> References: <1307595829.8990.9.camel@limbo> <1307606121.775.761.camel@zakaz.uk.xensource.com> <1307608287.31235.17.camel@limbo> <1307615031.775.810.camel@zakaz.uk.xensource.com> <19963.37638.19033.472036@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: ZhouPeng Cc: Ian Campbell , Wei Liu , "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org ZhouPeng writes ("Re: [Xen-devel] Re: [PATCH] libxl: initialize domid to 0 in libxl__create_stubdom"): > I think it should be both an input and output parameter, > which allows caller/user to provide a given domid, > if the given domid <= 0, it meas to request the hypervisor > to assign the next free id. This is not correct. The hypervisor will always assign the domid and there is no facility to specify one. Ian.