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

回覆: [Xen-devel] A domain id 0x00007fff in the result of xentrace

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Subject: 回覆: [Xen-devel] A domain id 0x00007fff in the result of xentrace
From: "Tommy Huang" <nbp0204@xxxxxxxxx>
Date: Sun, 30 Nov 2008 04:24:25 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 30 Nov 2008 01:25:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=FHzH45wVmssF3nnATejelw6h2WUi4w9FeJ4EC1mlC3c=; b=hTFsrTizZTnwQwn/zH2y35uYHECY7STuJiPRc2go4hlXD5zh8acIxzxyd3L8yKG6wp tG/i5nae79VzeubTg0nc3PM2FzdfU6eOC2A4koRjUB4WkeAeOXOIRnX6E1ukHJ9iIZTN 6IcS+IsM4tmdCnuT7i23pyCmk3sxna7PzGHaA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=Z09CXdBgB0D+OiTLXTyCeqTIbX4v4AuIkEdunW0ei3LDVFFt2fwW94BWsvlZoVZmoI tZLyEi4HPm2Aq0c6mr9IVFMft9H4ykKU06nhN7NUf1jgp+bc4LcbaS/yAzmMEgdI00SL sUlG6IVsTMQnG0gMF8YMDYJDWl8vk+nxS0A4k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for the information. I used "0x00007fff" to search so I didn't
find any result :-(.
Does it mean that the scheduler schedules this IDLE_DOMAIN when the
vcpu yields voluntarily?
I saw this idle_domain was scheduled pretty frequently.
In what situation the scheduler will schedule this idle domain?
Thanks.

- T.H.

2008/11/29, James Harper <james.harper@xxxxxxxxxxxxxxxx>:
>> Hi,
>>
>> When I used xentrace to get all domain events, I found that the xen
>> scheduler periodically scheduled a domain with id 0x00007fff. However,
>> that domain didn't issue any hypercall or exception. Because I didn't
>> create any domain only the default dom0, I supposed I could only see
> dom0.
>> Does anyone know what that domain is? I search the id "0x00007fff" in
> all
>> xen source files but didn't find any result. Any information is
>> appreciated. Thanks in advance.
>>
>
> A quick grep for 0x7fff in the sources for the hypervisor says:
>
> #define IDLE_DOMAIN_ID   (0x7FFFU)
> #define is_idle_domain(d) ((d)->domain_id == IDLE_DOMAIN_ID)
> #define is_idle_vcpu(v)   (is_idle_domain((v)->domain))
>
> Does this limit us to 32766 DomU's before we need a reboot to reset the
> id count?
>
> James
>

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

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