| Line | |
|---|
| 1 | Vnet module for network virtualization. |
|---|
| 2 | Mike Wray <mike.wray@hp.com> |
|---|
| 3 | |
|---|
| 4 | *) Compiling |
|---|
| 5 | The vnet module can be compiled for 2.4 or 2.6 series kernels. |
|---|
| 6 | The makefiles use the following variables, which |
|---|
| 7 | can be set in your env or on the make command line: |
|---|
| 8 | |
|---|
| 9 | LINUX_SERIES: linux release to compile for: 2.4, or 2.6 (default). |
|---|
| 10 | XEN_ROOT: root of the xen tree containing kernel source. |
|---|
| 11 | KERNEL_VERSION: kernel version, default got from XEN_ROOT. |
|---|
| 12 | KERNEL_SRC: path to kernel source, default build-linux-<VERSION> |
|---|
| 13 | under XEN_ROOT. |
|---|
| 14 | |
|---|
| 15 | *) For 2.4 kernel |
|---|
| 16 | |
|---|
| 17 | To compile from scratch: |
|---|
| 18 | |
|---|
| 19 | make clean |
|---|
| 20 | make LINUX_SERIES=2.4 |
|---|
| 21 | |
|---|
| 22 | This will build vnet_module.o in the current directory. |
|---|
| 23 | To install the module use |
|---|
| 24 | |
|---|
| 25 | make LINUX_SERIES=2.4 install |
|---|
| 26 | |
|---|
| 27 | *) For 2.6 kernel |
|---|
| 28 | |
|---|
| 29 | To compile from scratch: |
|---|
| 30 | |
|---|
| 31 | make clean |
|---|
| 32 | make |
|---|
| 33 | |
|---|
| 34 | This will build vnet_module.ko in the current directory. |
|---|
| 35 | To install the module use |
|---|
| 36 | |
|---|
| 37 | make install |
|---|
| 38 | |
|---|
| 39 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.