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] xl: multiple domain with the same name allowed?

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] xl: multiple domain with the same name allowed?
From: Andre Przywara <andre.przywara@xxxxxxx>
Date: Fri, 10 Sep 2010 10:03:40 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 10 Sep 2010 01:25:55 -0700
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
User-agent: Thunderbird 2.0.0.23 (X11/20090820)
Hi,

I realized that the xl tool allows to create multiple domains with the same name:
# xl create ttylinux.xl
# xl create ttylinux.xl
# xl list
Name                        ID   Mem VCPUs      State   Time(s)
Domain-0                     0  5498     4     r-----    1647.8
TTYLinux-NUMA               22  2043     4     -b----      29.9
TTYLinux-NUMA               23  2043     4     r-----      21.3
xm only shows one domain, it also refuses to start another instance (in opposite to xl)
# xm list
Name                        ID   Mem VCPUs      State   Time(s)
Domain-0                     0  5498     4     r-----   1665.0
TTYLinux-NUMA               22  2043     4     -b----    133.1
# xm create ttylinux.xl
Using config file "./ttylinux.xm".
Error: Domain 'TTYLinux-NUMA' already exists with ID '22'

Is the xl behavior intended or just a bug?

Regards,
Andre.

--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448-3567-12


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