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] How can I make Xen work with a patched kernel?

To: "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How can I make Xen work with a patched kernel?
From: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
Date: Wed, 3 Jan 2007 11:50:30 -0700
Cc: Xen-Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 03 Jan 2007 10:50:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
References: <BAY125-DAV69D0F7F858155592248D293BA0@xxxxxxx> <1167814507.4147.7.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Thanks. Still have two questions:
1. Actually there are two different ways to make Xen build with patched kernel. One is to put patches into patches directory before doing make world as you suggest, the other is to patch the Xen Linux kernel directly after make world is done and then do make again (build a custom Xen kernel). Do you think if these two methods will bring the same results?

2. Currently each Xen version is bound to a specific Linux kernel version. Suppose Xen support Linux kernel 2.6.16. now I want to make it support Linux kernel 2.6.17-rc6. Can I also put the prepatch file for 2.6.17-rc6 kernel into patches directory and then Xen will be able to support this newer kernel version?

Best regards,

Liang

----- Original Message ----- From: "Kieran Mansley" <kmansley@xxxxxxxxxxxxxx>
To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
Cc: "Xen-Devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 03, 2007 1:55 AM
Subject: Re: [Xen-devel] How can I make Xen work with a patched kernel?


On Tue, 2007-01-02 at 12:22 -0700, Liang Yang wrote:

Could anyone explain what I should do to make Xen work with this
patched kernel?

Try adding your patch to the xen-unstable.hg/patches/linux-2.6.16.33/
directory in your Xen repository and including its name in the series
file in that directory.  Then when you do a make world the patch will be
applied to the pristine kernel sources that are downloaded from
kernel.org, and so it should build a kernel with your patch included.

Kieran


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



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