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

[Xen-users] Why is the first domU created with domid = 2 instead of 1

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Why is the first domU created with domid = 2 instead of 1
From: "Haifeng He" <hehaifeng2nd@xxxxxxxxx>
Date: Fri, 2 Nov 2007 15:45:14 -0700
Delivery-date: Fri, 02 Nov 2007 15:45:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=ePmOi8ok4gKS36SEMwLX3MMDei2Q3DU4An8RIqzUjqY=; b=NSvhgfPfQR0eUKtVYQpIclqnuG4GUqmzQkOQu2PUxZMjoSdPRPRr0kT48GCK7LlaCJ/eQEqsneLXPb3EmB2D8lD/NVjr2G/8++r1dfJVCzDWvh8bfvAZnv/O11lOkORHAl9IeQomC6ZZpFOm8bKSwW/L7wZgjDzYx9IO2ejMrUw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NoAoAaPP3uzFtZaEtrtG0uVJCRRB+ctZQRM7rpK14W33oisCvgUvgfbq3QwfphOGho/h38+ramQTCHy//5ExgdDFMH44d4waVktgvPWg9DXQRZwcW5+xkWVpqJmft4hmSdrOHdQLqOiU7Ppa5IzhYcspxSNwudCTGZ16UwAHjIo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I installed Xen(3.0.3) on Debian and created a guest OS kernel using
linux.2.6.19.
I can create domU successfully but I noticed that the domid I got for
the first domU
created is always 2, instead of 1 (dom0 has id 0). What's the reason for that?

I tried to trace the domain creating process and noticed that Dom0 does
try to create a domain with id 1 first but somehow it does domain creating
again and create domain with id = 2.

And one more weired thing, after I quit from domU, domU does not terminate
completely, i.e., it still appears when I run "xm list". I have to use
"xm destroy 2"
to stop it manually. What could the reason? Are these two problems related?

Here is my xen.cfg looks like.

kernel = "/boot/vmlinuz-2.6-xenU"
memory = 16
name = "domU"
vif = [ '' ]
dhcp = "dhcp"
disk = ['file:/xen/guest/domU.img,hda,w']
root = "/dev/hda ro"

Thanks

Haifeng

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Why is the first domU created with domid = 2 instead of 1, Haifeng He <=