2.3.3 Custom XenLinux Builds
If you wish to build a customized XenLinux kernel (e.g. to support additional devices
or enable distribution-required features), you can use the standard Linux configuration
mechanisms, specifying that the architecture being built for is xen, e.g:
# cd linux-2.6.11-xen0
# make ARCH=xen xconfig
# cd ..
# make
You can also copy an existing Linux configuration (.config) into linux-2.6.11-
xen0 and execute:
# make ARCH=xen oldconfig
You may be prompted with some Xen-specific options; we advise accepting the de-
faults for these options.
Note that the only difference between the two types of Linux kernel that are built is
the configuration file used for each. The ”U” suffixed (unprivileged) versions don’t
contain any of the physical hardware device drivers, leading to a 30% reduction in
size; hence you may prefer these for your non-privileged domains. The ‘0’ suffixed
privileged versions can be used to boot the system, as well as in driver domains and
unprivileged domains.
2.3.4 Installing the Binaries
The files produced by the build process are stored under the dist/install/ direc-
tory. To install them in their default locations, do:
# make install
Alternatively, users with special installation requirements may wish to install them
manually by copying the files to their appropriate destinations.
The dist/install/boot directory will also contain the config files used for build-
ing the XenLinux kernels, and also versions of Xen and XenLinux kernels that contain
debug symbols (xen-syms-2.0.6 and vmlinux-syms-2.6.11.11-xen0) which
are essential for interpreting crash dumps. Retain these files as the developers may
wish to see them if you post on the mailing list.
2.4 Configuration
Once you have built and installed the Xen distribution, it is simple to prepare the
machine for booting and running Xen.
10
Commentaires sur ces manuels