The top-level Xen Makefile includes a target ``world'' that will do the
following:
- Build Xen.
- Build the control tools, including xend.
- Download (if necessary) and unpack the Linux 2.6 source code, and
patch it for use with Xen.
- Build a Linux kernel to use in domain 0 and a smaller unprivileged
kernel, which can be used for unprivileged virtual machines.
After the build has completed you should have a top-level directory
called dist/ in which all resulting targets will be placed. Of
particular interest are the two XenLinux kernel images, one with a
``-xen0'' extension which contains hardware device drivers and drivers
for Xen's virtual devices, and one with a ``-xenU'' extension that
just contains the virtual ones. These are found in
dist/install/boot/ along with the image for Xen itself and the
configuration files used during the build.
To customize the set of kernels built you need to edit the top-level
Makefile. Look for the line:
KERNELS ?= linux-2.6-xen0 linux-2.6-xenU
You can edit this line to include any set of operating system kernels
which have configurations in the top-level buildconfigs/
directory.