mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix the tools/vnet makefiles so that vnets will compile and includes updates to the vnet implementation. Vnet ids are increased to 128 bits. The vnet module will insmod whether xen-br0 exists or not. Signed-off-by: Mike Wray <mike.wray@hp.com> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
40 lines
927 B
Plaintext
40 lines
927 B
Plaintext
Vnet module for network virtualization.
|
|
Mike Wray <mike.wray@hp.com>
|
|
|
|
*) Compiling
|
|
The vnet module can be compiled for 2.4 or 2.6 series kernels.
|
|
The makefiles use the following variables, which
|
|
can be set in your env or on the make command line:
|
|
|
|
LINUX_SERIES: linux release to compile for: 2.4, or 2.6 (default).
|
|
XEN_ROOT: root of the xen tree containing kernel source.
|
|
KERNEL_VERSION: kernel version, default got from XEN_ROOT.
|
|
KERNEL_MINOR: kernel minor version, default -xen0.
|
|
KERNEL_SRC: path to kernel source, default linux-<VERSION> under XEN_ROOT.
|
|
|
|
*) For 2.4 kernel
|
|
|
|
To compile from scratch:
|
|
|
|
make clean
|
|
make LINUX_SERIES=2.4
|
|
|
|
This will build vnet_module.o in the current directory.
|
|
To install the module use
|
|
|
|
make LINUX_SERIES=2.4 install
|
|
|
|
*) For 2.6 kernel
|
|
|
|
To compile from scratch:
|
|
|
|
make clean
|
|
make
|
|
|
|
This will build vnet_module.ko in the current directory.
|
|
To install the module use
|
|
|
|
make install
|
|
|
|
|