The stable released versions are
usually the ones that are available as pre-built packages. In the previous section we
used the pre-built packages for Xen 3.0.4 provided by Fedora Core 6. However, there
is a new pre-release version of Xen that has several bug fixes and enhancements.
It would be nice to use this or any other version of Xen for that matter, without
depending on a pre-built package of Xen. We first installed the mercurial client used
for retrieving the source. We also installed all the pre-requisites for compiling C code
including the gcc compiler collection. You may already have some of these packages
if you have ever compiled C code on your system. Also, there are some libraries such
as openssl and zlib that are needed to compile Xen.
The Makefile provided with the Xen distribution has several pre-defined targets
that we can use for compiling Xen. the following were used in this section:
linux-2.6-xen0-config: This target is used for configuring the dom0 kernel.
The default will configure the linux kernel using the familiar menuconfig
option that brings up a ncurses dialog based configuration utility. You
can configure the various options to fine tune the dom0 kernel to your
specifications. You can also select a different interface for configuration.
Running this target for the first time will download will download linux-2.6.16.38 from
http://kernel.org to the current directory. This unmodified kernel is
referred to as a pristine kernel.
Pages:
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36