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/
Home Products Support Community News


Re: [rfc] Re: [XenPPC] Booting xen_maple_defconfig kernel on bare hardwa

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [rfc] Re: [XenPPC] Booting xen_maple_defconfig kernel on bare hardware
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Thu, 27 Jul 2006 17:18:45 -0500
Cc: Chris Wright <chrisw@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 27 Jul 2006 15:18:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <68311A57-28C5-4F78-B879-565A9B357895@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 Linux Technology Center
References: <20060726082633.GA3283@xxxxxxxxxxxxxxxxxxxxx> <68311A57-28C5-4F78-B879-565A9B357895@xxxxxxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2006-07-27 at 08:48 -0400, Jimi Xenidis wrote:
> On Jul 26, 2006, at 4:26 AM, Amos Waterland wrote:
> > It would be nice to boot the exact same Linux kernel binary image on
> > bare hardware and as a Xen dom0 on that same hardware.
> the XenPPC team  considers this a requirement.

Absolutely. However, if it means committing a hack like the below, I'm
willing to postpone this goal.

> > At present we
> > cannot do this: you stop seeing output early in the boot process.
> Glad to find out that functionally it seems to only be the serial stuff.
> The Xen Console stuff is a little wierd since instead of creating a  
> new console device like all the other virtual console drivers they  
> decided they would override ttyS by default for Dom0.
> We thought this was odd but figured it would get resolved when the  
> xen patches went into the kernel.

History has shown that Xen's current approach is not going to fly. The
xen console will end up needing its own char device, just like all the
other virtual consoles (and even the non-8250 serial consoles).

> For now at least the following is sufficient, tho a little hacky..  
> thoughts?
> hg diff arch/powerpc/platforms/xen/setup.c drivers/xen/console/console.c
> [snip]

Extremely distasteful.

People who *need* this functionality (i.e. single binary for hardware
and Xen) *right* *now* could just create a xenppc-unstable.hg child
tree, apply this patch only, and just update it when doing a build.

Hollis Blanchard
IBM Linux Technology Center

Xen-ppc-devel mailing list

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