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/
Home Products Support Community News


RE: [Xen-users] Building kernels *within* a domU

To: "john maclean" <jayeola@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Building kernels *within* a domU
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 22 Sep 2006 11:41:06 +0200
Delivery-date: Fri, 22 Sep 2006 02:42:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4170c1720609220228p424c1999r562ad3037a856183@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbeKZCkLQ4L0/pxR9mxZTV6YwKh7AAAUXNw
Thread-topic: [Xen-users] Building kernels *within* a domU

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> john maclean
> Sent: 22 September 2006 10:29
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Building kernels *within* a domU
> Hey chaps,
> I've been happily building and running images for my domUs and the
> following occoured to me:- how does one build a kernel *within* a
> domU? How would a domU specify which kernel to use when it's
> hard-coded (see 4 below)? In summary:-
> 1) xen testing, 3.0.2-2
> 2) Using a single kernel (/boot/{config-2.6.16-xen, xen-3.0.2-2.gz} )
> for all domains
> 3) I'm using file-based images, (created by dd)
> 4) The kernel for each domU is specified within /etc/xen/foo

You could certainly build the kernel within DomU, but you'd have to copy
it out of DomU into Dom0, since Dom0 has to load the kernel for you
[unless you run fully virtualized kernel, in which case you'd just build
the kernel as per a standalone system...]. You could use something like
"ssh .../vmlinuz dom0name:<wherver>" to copy the kernel, assuming you
haven't prevented ssh from getting from DomU to Dom0 with your firewall
settings in Dom0 (or DomU firewall settings, if you have any of those). 

> -- 
> John Maclean  - 07739 171 531
> MSc (DIC)
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>