[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "john maclean" <jayeola@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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). 

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.