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
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to