From: Elizeu Santos-Neto Subject: Re: domain id Date: Fri, 24 Feb 2006 14:52:16 -0600 Message-ID: <1140814336.20342.2.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain 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: jaikumar Ganesh Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Jaikumar, I'm not sure whether it is the same information used by "xm list" or not. However, the function "domain_create()" receives a variable "domid_t dom_id" which is assigned to "d->domain_id". This might be what you want. Regards, Eli On Fri, 2006-02-24 at 14:12 -0600, jaikumar Ganesh wrote: > Hi All > I am a newbie to the xen community and I am facing some crashes due > to my code changes. > > A quick question: When i start a new domain with id being set to say > "VM100" (the id that is shown in the xm list ouput), whats the id that > will be stored in the domain structure? i.e > > struct domain *d ; > d->id ?? > > Any help will be appreciated. > > Thanks > Jaikumar > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >