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

Re: [Xen-users] How to build a PV domU kernel

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] How to build a PV domU kernel
From: lei yang <yanglei.fage@xxxxxxxxx>
Date: Thu, 13 May 2010 23:47:03 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 13 May 2010 08:51:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=7lHReutYt69BS0sMFwPZtIqw+1NFVLDynWOohMDeTEU=; b=ADlsDMd/oKq1uaYeXlqxXY1vMPgStOBc6pJxVQJ65O6ZxKNI5dY8tCuM8AePwwJ8I+ /aDQVOEtNwMioSrSBrkurizoTeUgh9RjK7F2C0KRE12VhzDaf1QYuHoCN4nXV70fZEvG JY2S6hcNFMTJS9LODDjml7591MNQUPcszH/jA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GasmjYh/lZbn1qbQ8lN15xUHmGrhQtvDQcQj1UNKj1YcMw3qtith74unhOqF0+cutn KrpRGNzAm475Lct0QO62tn6B9e3zRjYlntMroOcTvuBxuQJ54g2d91+4xn0GyYPndexV IjzIuxclVg/nTMUhgmUW91uNL88T0d/UD0hB0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100513123338.GD17817@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTilMkCHWq7x3zN_DEZgFlVhlKCor4FmK_zT1-exF@xxxxxxxxxxxxxx> <20100513123338.GD17817@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Thu, May 13, 2010 at 8:33 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Thu, May 13, 2010 at 11:13:00AM +0800, lei yang wrote:
>    Hi All,
>
>    I download a xen 4.0.0, after I run "make world" I got a 2.6.33.1 kernel,
>    it should be a kernel for Dom0, my question is " how to get a domU kernel
>    for 2.6.33.1"
>

The same kernel can be used also for domU.

 
a.I'm confused by this in the readme of xen4.0.0, I saw we can get domU with "   KERNELS="linux-2.6-xen0 linux-2.6-xenU"" when run "make", and I got two kernel one is for dom0, anther is domU, the size of dom0 is bigger than domU, do you mean we can ignor this(KERNELS="linux-2.6-xen0 linux-2.6-xenU), just use one dom0 kernel for domU?
 
b. if I saw some document, they tell "the dom0 need the patch for xen " eg:wget http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.33-1.tar.bz2 , my question is "does domU kernel need this patch?
 
 
c.if domU does not use that patch, and I download a kernel from kernel.org, which kernel config need to be opened for
 pvops Xen domU,
 
 
d.which kernel version is the latest one for dom0 kernel support, I go to http://code.google.com/p/gentoo-xen-kernel/updates/list , I find the latest patch for dom0 is xen-patches-2.6.33-1.tar.bz2, does it mean the *official* latest one is 2.6.33? and how about domU,which is the latest kernel version for domU, I think it may be the latest one in kernel.org(2.6.43-r6)
 
 
Sorry to ask for so many quesion, I'm new to xen
 
Thanks
Lei
 
 
 
 
Or then you can grab a kernel from kernel.org and build it with pvops Xen domU support
enabled.

Or you can get any of the other xenlinux source trees.

-- Pasi




--
"We learn from failure, not from success!"
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users