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

Re: [Xen-devel] [PATCH][RFC] Fix pygrub for IA64 support.

To: Takahashi Tomohiro <takatom@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][RFC] Fix pygrub for IA64 support.
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 11 Apr 2007 08:05:05 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 11 Apr 2007 07:04:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <013f01c77c0d$ddf1aa10$ecb1220a@fj98229700>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <013f01c77c0d$ddf1aa10$ecb1220a@fj98229700>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2007-04-11 at 16:48 +0900, Takahashi Tomohiro wrote:
> Hi,
> 
> I made a patch that fixed pygrub for IA64 support.
> 
> This patch purposes to support pygrub on IA64.
> I just do fix pygrub and add LiloConf.py.
> (since IA64 uses elilo.conf)
> 
> The discussion point is elilo.conf path.
> I use "/efi/redhat/elilo.conf"
> But this is distributer specific(for example Redhat).
> Is any idea to fix this issue?

>          grubfile = None
>          for f in ("/boot/grub/menu.lst", "/boot/grub/grub.conf",
> -                  "/grub/menu.lst", "/grub/grub.conf"):
> +                  "/grub/menu.lst", "/grub/grub.conf",
> +                  "/efi/redhat/elilo.conf"): 

  This is a search path, so rather than favoring one distribution, at a
minimum, I think we need to include a reasonable sampling of
distributions.  Therefore, I'd add /efi/debian/elilo.conf
and /efi/SuSE/elilo.conf.  We should probably add RedFlag too, but I've
never tried it to know what their elilo path is.  I'd guess it's just
"/efi/redflag/elilo.conf".  Ubuntu also has an unofficial ia64 port, but
I believe they use the same path as Debian.  This obviously isn't the
optimal solution, but we should try for some fairness.

  Keir, all 3 of these patches are touching common code, so I'll leave
it to you to check these directly into xen-unstable.hg.  Getting pygrub
working on ia64 would be a really nice feature to have for 3.0.5, so
please consider these before the fork.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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

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