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] A domain id 0x00007fff in the result of xentrace

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Tommy Huang <nbp0204@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] A domain id 0x00007fff in the result of xentrace
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 30 Nov 2008 08:46:17 +0000
Cc:
Delivery-date: Sun, 30 Nov 2008 00:46:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0154FDC9@trantor>
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
Thread-index: AclSnIbdphjpIXngT+CoT1Ra7/34SAAAehUgAAprJnc=
Thread-topic: [Xen-devel] A domain id 0x00007fff in the result of xentrace
User-agent: Microsoft-Entourage/11.4.0.080122


On 30/11/08 03:50, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> 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?

Domain IDs are reusable.

 -- Keir



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

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