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: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] ext4 support on pvgrub
From: M A Young <m.a.young@xxxxxxxxxxxx>
Date: Tue, 12 Oct 2010 21:57:21 +0100 (BST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 12 Oct 2010 13:59:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CB4C162.1000705@xxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)


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

        Michael Young

Attachment: grub-ext4-support.patch
Description: patch from grub-0.97-66.fc14

Attachment: xenifiedgrubext4.patch
Description: patch to xen-4.0.1

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