ia64/xen-unstable

view unmodified_drivers/linux-2.6/README @ 18824:0b8c6c91c5a4

pv-on-hvm drivers: build fixes for Linux 2.6.27+

Make the drivers build properly in a 2.6.27 environment as well as
against a kernel with pv-ops Xen configured on (in the latter case
more work would be needed to also make the drivers work, as there's a
large number of duplicate exports).

Portions from Charles Arnold <carnold@novell.com>.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Nov 24 11:11:20 2008 +0000 (2008-11-24)
parents d18be3c329fa
children
line source
1 To build:
3 1. ./mkbuildtree [<arch>]
4 NB. You can override paths to Xen sources and a (stub) XenLinux
5 build tree via the XEN and XL environment variable.
7 2. make -C /path/to/kernel/build M=$PWD modules
8 NB. This is your native kernel build tree (or a distro provided
9 stub), not the XenLinux sources referred to in step 1.
10 NB. If you are cross compiling, you need to set ARCH and
11 CROSS_COMPILE too.
13 You get four modules, xen-platform-pci.ko, xen-vbd.ko, xen-vnif.ko and
14 xen-balloon.ko. Load xen-platform-pci first, and then
15 whichever of xen-vbd, xen-vnif and xen-balloon.ko you happen to need.