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] Which kernal am I using anyway?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Which kernal am I using anyway?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 31 Aug 2005 12:10:03 +0100
Cc: Anders Nygren <anders.nygren@xxxxxxxxx>
Delivery-date: Wed, 31 Aug 2005 11:11:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d3520a2f05083015181e781729@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>
References: <d3520a2f05083015181e781729@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> I have started playing with Xen on SuSE 9.3 and just discovered
> something that I can not understand.

Using the SuSE packages, right?

> In the config file for a virtual machine there are two parameters
> kernel = path to kernel to load
> root    = root device

Yup.

> I assumed that Xen would look for the kernel on the root device, but
> instead it just uses the path given in the kernel parameter in the
> domain0 directory tree.

Yeah, this is because of the way domains are built: there's not a bootloader 
that runs in the domain (although we're planning to add one), instead a tool 
in dom0 loads the guest kernel into memory and then kicks it into life.

> So, am I doing something wrong, or is it supposed to work this way?
>
> If it is supposed to work this way, does anyone have any suggestions
> on how to do updates of the kernel in domainN>0.

Yup, that's fine.  Update-wise, if you're just interested in keeping up to 
date with kernel patches, just update the kernel RPM in dom0 and make sure 
the config file points to it (there's probably a symlink such as vmlinuz-xen 
that you can use so you don't have to update the config file each time you 
update the kernel).

If you want to allow guests to choose what kernel they run, it's not possible 
under 2.0 right now.

Cheers,
Mark

> If I do a yast update in domN>0 the kernel will not be updated since
> it is actually stored in dom0.
>
> /Anders Nygren
>
> _______________________________________________
> 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

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