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

Re: [Xen-users] Which kernal am I using anyway?

> 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


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


> 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



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