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-ppc-devel

Re: [XenPPC] Should the platform name be "Xen-Maple"

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [XenPPC] Should the platform name be "Xen-Maple"
From: Jerone Young <jyoung5@xxxxxxxxxx>
Date: Tue, 27 Feb 2007 14:49:26 -0600
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 27 Feb 2007 12:48:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1B0CBD04-6EB6-4313-9C6E-BD0C82200957@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM
References: <1172605738.6665.11.camel@thinkpad> <1B0CBD04-6EB6-4313-9C6E-BD0C82200957@xxxxxxxxxxxxxx>
Reply-to: jyoung5@xxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
Ok. But there is another thing I left out. Under global firmware you
normally have a line "machine:" in /proc/cpuinfo that shows the machine
platform you are running on. In case of the JS20s this looks like:

machine         : CHRP IBM,8842-21X



On Tue, 2007-02-27 at 14:56 -0500, Jimi Xenidis wrote:
> This comes from the fact that we are running xen from an underlying  
> host platform.
> for example, if you boot linux without xen but on SLOF your machine  
> name is "Maple".
> see:
>    arch/powerpc/platforms/xen/setup.c define_machine 246  
> define_machine(xen)
> 
> 
> I'd be interested in changing this to "Xen" for DomUs, but Dom0  
> should reflect the underlying machine type that linux would use  
> without Xen.
> -JX
> 
> 
> On Feb 27, 2007, at 2:48 PM, Jerone Young wrote:
> 
> > In /proc/cpuinfo of a domain0 you see the following:
> >
> >  processor       : 0
> >  cpu             : PPC970MP, altivec supported
> >  clock           : 2300.000000MHz
> >  revision        : 1.1 (pvr 0044 0101)
> >  processor       : 1
> >  cpu             : PPC970MP, altivec supported
> >  clock           : 2300.000000MHz
> >  revision        : 1.1 (pvr 0044 0101)
> >  processor       : 2
> >  cpu             : PPC970MP, altivec supported
> >  clock           : 2300.000000MHz
> >  revision        : 1.1 (pvr 0044 0101)
> >  processor       : 3
> >  cpu             : PPC970MP, altivec supported
> >  clock           : 2300.000000MHz
> >  revision        : 1.1 (pvr 0044 0101)
> >  timebase        : 14318378
> >  platform        : Xen-Maple
> >
> > The "platform" line "Xen-Maple" is currently used by some tools in
> > distros to identify the platform of the machine. The question I  
> > pose is
> > should this be changed from "Xen-Maple" since running on Xen does not
> > mean you are running on Maple.
> >
> > Something like "Xen" would probably be better. What do you guys  
> > think ?
> >
> >
> > _______________________________________________
> > Xen-ppc-devel mailing list
> > Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-ppc-devel
> 


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