mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
ports from build integration Both distros now include Xen support from their respective upstreams and these kernels are very out of date wrt both the upstream distro kernel and the upstream Xen kernel. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
To build:
1. ./mkbuildtree [<arch>]
NB. You can override paths to Xen sources and a (stub) XenLinux
build tree via the XEN and XL environment variable.
2. make -C /path/to/kernel/build M=$PWD modules
NB. This is your native kernel build tree (or a distro provided
stub), not the XenLinux sources referred to in step 1.
NB. If you are cross compiling, you need to set ARCH and
CROSS_COMPILE too.
You get four modules, xen-platform-pci.ko, xen-vbd.ko, xen-vnif.ko and
xen-balloon.ko. Load xen-platform-pci first, and then
whichever of xen-vbd, xen-vnif and xen-balloon.ko you happen to need.