|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] cross compile and kernels.
On Sat, Feb 20, 2010 at 1:56 AM, ccmail111 <ccmail111@xxxxxxxxx> wrote:
> "How to choose a Xen dom0 kernel?
> • You should always match Xen hypervisor and Xen dom0 kernel versions."
>
> Does above mean Hypervisor has a Linux Kernel too and dom0 has a Linux kernel
> and domU can have any kernel ?
It means you should match hypervisor and dom0 kernel versions. Note
that it's SHOULD, not MUST.
For example, RHEL's kernel-xen linux source contains code that was
built for RH's special version of xen 3.1.x. It's designed to work
with xen hypervisor version 3.1.
You CAN, however, use that same kernel as dom0 kernel for Xen 3.4.x.
The downside is that some newer features (like scsi-passthru) will be
unusable since the dom0 kernel can't support those features.
official xen.org's kernel contains support for latest version of Xen.
> 2) Case: I have:
> my compile machine has Fedora
> Plan to use debian for dom0 and RH for domU.
>
> Would this work:
>
> 1) On Fedora (compile server) - first compile dom0 kernel (debian) - thus
> cross compile.
That's not cross-compile.
But yes, you should be able to compile hypervisor and dom0 kernel
anywhere as long as they can produce the same arch as target server
(x86, x86_64).
> 2) Then get a machine running debian OS and compile dom0 tools. If not, is
> it possible to cross compile tools also like (1) above (on Fedora compile
> server) ?
userland tools is a bit tricky as it involves libraries. You should
compile it on the same environment as your running dom0.
You could always create a debian chroot environment on top of Fedora though.
> 3) domU: similar to (1) above - cross compile RH kernel on Fedora gcc and
> tools ?
You don't need to. Just use RHEL's kernel-xen for domU.
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|