[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest



On Wed, 14 Dec 2011, Pasi Kärkkäinen wrote:

On Wed, Nov 16, 2011 at 08:41:08PM +0200, Pasi Kärkkäinen wrote:
On Sat, Oct 22, 2011 at 07:22:46AM -0700, Boris Derzhavets wrote:
   Please, back port  to xen-4.1-testing.hg.


Yep, this pygrub patch series is already in xen-unstable.hg,
and it should be backported to xen-4.1-testing.hg aswell,
so upcoming Xen 4.1.3 will support F16 PV domUs.

(It's already included in Michael's Fedora 16 xen rpms,
and works well there.)


Fedora 16 Xen 4.1.2 src.rpm is for example here:
ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/16/SRPMS/xen-4.1.2-2.fc16.src.rpm

and that includes a working backport of these pygryb patches,
in a case they don't apply cleanly to xen-4.1-testing.hg.

It doesn't have 24003:c681dd5aecf3 which adds a sample grub2 configuration file though I expect that will backport cleanly, as should 23998:85d7b207fabc , 24000:65679fee0177 , 24001:152049468175 and
24002:979bc34d0ad0 .
The exception is 23999:138f707fa598 (getting pygrub to look in the /grub2 directories that Fedora 16 uses) which needs obvious adjustments because the checking order changed from grub, grub2, extlinux in 4.1 to grub2, extlinux, grub in 4.2. The relevant bits of the Fedora package for this (if my mail client doesn't mess them up) are below

        Michael Young

--- xen-4.1.2/tools/pygrub/src/pygrub.orig      2011-10-13 18:56:41.000000000 
+0100
+++ xen-4.1.2/tools/pygrub/src/pygrub   2011-10-13 20:46:58.000000000 +0100
@@ -394,7 +404,8 @@
                            ["/boot/grub/menu.lst", "/boot/grub/grub.conf",
                             "/grub/menu.lst", "/grub/grub.conf"]) + \
                        map(lambda x: (x,grub.GrubConf.Grub2ConfigFile),
-                           ["/boot/grub/grub.cfg", "/grub/grub.cfg"]) + \
+                           ["/boot/grub/grub.cfg", "/grub/grub.cfg",
+                            "/boot/grub2/grub.cfg", "/grub2/grub.cfg"]) + \
                        map(lambda x: (x,grub.ExtLinuxConf.ExtLinuxConfigFile),
                            ["/boot/isolinux/isolinux.cfg",
                             "/boot/extlinux.conf"])
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.