From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hui Kang Subject: Re: Is this a bug of xentrace? Date: Mon, 11 May 2009 12:33:22 -0400 Message-ID: <4A085352.7010201@cs.sunysb.edu> References: <4A05D1EF.2090405@cs.sunysb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: George Dunlap Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org Yes, it is 0x00007fff. This is one line in the parsed trace file. CPU1 962569711226060 (+ 574) switch_infnext [ new_domid = 0x00007fff, time = 14321, r_time =30000000 ] When I use "xm list", it shows the domain id is 5. There are only two domains on the host. Can any one point out what does "0x00007fff" this number mean? Thanks. - Hui George Dunlap wrote: > Are you sure that's not 0x7fff? (Three f's, not four?) 0x7fff is the > domain ID of the idle domain (scheduled when there is no other work on > the system to do). > > -George > > On Sat, May 9, 2009 at 7:56 PM, Hui Kang wrote: > >> Hi, >> I am using xentrace to trace the events of guest domains on a host physical >> machine. In the parsed trace file, >> if the guest domain is created on the host machine, then the entry is good >> switch_infprev [ old_domid = 0x00000002 >> // the guest domain has a id of 2. >> switch_infnext [ new_domid = 0x00000000 >> >> However, if the guest domain is migrated from another host machine, the >> parsed trace file shows >> switch_infprev [ old_domid = 0x00007ffff >> // the guest domain has a id of 2. >> switch_infnext [ new_domid = 0x00000000 >> Even the domain Id is 2, it shows 0x00007ffff. >> Can anyone explain this? Thanks. >> >> >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > . > >