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

Re: [Xen-devel] ext4 support on pvgrub

To: M A Young <m.a.young@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] ext4 support on pvgrub
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 14 Oct 2010 14:57:23 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 14 Oct 2010 07:02:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.LFD.2.00.1010122142270.544@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.LFD.2.00.1010072238110.13579@xxxxxxxxxxxxxxx> <4CB4C162.1000705@xxxxxxxx> <alpine.LFD.2.00.1010122142270.544@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Tue, 12 Oct 2010, M A Young wrote:
> 
> 
> On Tue, 12 Oct 2010, Jeremy Fitzhardinge wrote:
> 
> >
> > On 10/07/2010 02:48 PM, M A Young wrote:
> >> I have this working on Fedora. It turned out to be very easy to add
> >> this as I simply took the grub-ext4-support.patch from the Fedora grub
> >> package and put it in xen-4.0.1/stubdom/grub.patches/ . Using pvgrub
> >> (without a vif on the virtual machine as I was having problems if I
> >> did give it a network interface) I could read and boot from ext4
> >> partition with this patch but not without it.
> >>
> >> Is this a good way to add this feature to xen more generally?
> >
> > Sounds like it just needs to be committed.  Post the patch?
> 
> I am attaching both the raw patch (taken from grub-0.97-66.fc14, it 
> traces back to the attachment at
> https://bugzilla.redhat.com/show_bug.cgi?id=486284#c7 with only spelling 
> fixes) and also one that could be applied to the xen source. 
> Use whichever is more convenient or you can fetch it directly from the 
> Fedora source repository at
> http://pkgs.fedoraproject.org/gitweb/?p=grub.git;a=blob_plain;f=grub-ext4-support.patch;hb=3bcdb10fc21d8e94efa70fd91d21224f13f01433
> 

I tried out the patch but even though it doesn't introduce any
regressions it doesn't seem to be able to handle an ext4 partition I
made for testing purposes.

Can anybody else confirm that it actually works?


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