Mailing List Archive

Re: [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest
Hello,

Ian (Jackson): Did you have time to look at these 6 patches for pygrub?
They're already in xen-unstable, and they should be backported to xen-4.1-testing.

http://xenbits.xen.org/hg/xen-unstable.hg/rev/85d7b207fabc
http://xenbits.xen.org/hg/xen-unstable.hg/rev/138f707fa598
http://xenbits.xen.org/hg/xen-unstable.hg/rev/65679fee0177
http://xenbits.xen.org/hg/xen-unstable.hg/rev/152049468175
http://xenbits.xen.org/hg/xen-unstable.hg/rev/979bc34d0ad0
http://xenbits.xen.org/hg/xen-unstable.hg/rev/c681dd5aecf3

In the case they don't apply as-is to xen-4.1-testing
Fedora 16 xen-4.1.2-2.fc16.src.rpm already contains those patches backported to 4.1.2.

Thanks,

-- Pasi


On Wed, Dec 14, 2011 at 12:11:33PM +0000, M A Young wrote:
> 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@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest [ In reply to ]
Pasi Kärkkäinen writes ("Re: [Xen-devel] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest"):
> They're already in xen-unstable, and they should be backported to xen-4.1-testing.
>
> http://xenbits.xen.org/hg/xen-unstable.hg/rev/85d7b207fabc
> http://xenbits.xen.org/hg/xen-unstable.hg/rev/138f707fa598
> http://xenbits.xen.org/hg/xen-unstable.hg/rev/65679fee0177
> http://xenbits.xen.org/hg/xen-unstable.hg/rev/152049468175
> http://xenbits.xen.org/hg/xen-unstable.hg/rev/979bc34d0ad0
> http://xenbits.xen.org/hg/xen-unstable.hg/rev/c681dd5aecf3
>
> In the case they don't apply as-is to xen-4.1-testing
> Fedora 16 xen-4.1.2-2.fc16.src.rpm already contains those patches backported to 4.1.2.

Thanks, it was trivial to fix up the one conflict myself. I have
backported them all.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest [ In reply to ]
On Tue, Jan 10, 2012 at 05:14:18PM +0000, Ian Jackson wrote:
> Pasi Kärkkäinen writes ("Re: [Xen-devel] [PATCH 0 of 6] pygrub fixes to support a Fedora 16 guest"):
> > They're already in xen-unstable, and they should be backported to xen-4.1-testing.
> >
> > http://xenbits.xen.org/hg/xen-unstable.hg/rev/85d7b207fabc
> > http://xenbits.xen.org/hg/xen-unstable.hg/rev/138f707fa598
> > http://xenbits.xen.org/hg/xen-unstable.hg/rev/65679fee0177
> > http://xenbits.xen.org/hg/xen-unstable.hg/rev/152049468175
> > http://xenbits.xen.org/hg/xen-unstable.hg/rev/979bc34d0ad0
> > http://xenbits.xen.org/hg/xen-unstable.hg/rev/c681dd5aecf3
> >
> > In the case they don't apply as-is to xen-4.1-testing
> > Fedora 16 xen-4.1.2-2.fc16.src.rpm already contains those patches backported to 4.1.2.
>
> Thanks, it was trivial to fix up the one conflict myself. I have
> backported them all.
>

Great, thanks a lot!

-- Pasi


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