This document describes how to build and install Open vSwitch on a
Citrix XenServer host. If you want to install Open vSwitch on a
-generic Linux or BSD host, see [INSTALL](INSTALL.md) instead.
+generic Linux or BSD host, see [INSTALL.md] instead.
These instructions have been tested with XenServer 5.6 FP1.
./configure; make dist` in the Git tree. You cannot run this in
the DDK VM, because it lacks tools that are necessary to bootstrap
the Open vSwitch distribution. Instead, you must run this on a
- machine that has the tools listed in [INSTALL](INSTALL.md) as
- prerequisites for building from a Git tree.
+ machine that has the tools listed in [INSTALL.md] as prerequisites
+ for building from a Git tree.
2. Copy the distribution tarball into /usr/src/redhat/SOURCES inside
the DDK VM.
The "xen" flavor is the main running kernel flavor and the "kdump" flavor is
the crashdump kernel flavor. Commonly, one would specify "xen" here.
+For XenServer 6.5 or above, the kernel version naming no longer contains
+KERNEL_FLAVOR. In fact, only providing the `uname -r` output is enough.
+So, the final "rpmbuild" step changes to:
+
+ ```
+ KERNEL_UNAME=<`uname -r` output>
+ rpmbuild \
+ -D "kenel_uname $KERNEL_UNAME" \
+ -bb xenserver/openvswitch-xen.spec
+ ```
+
+
Installing Open vSwitch for XenServer
-------------------------------------
--------------
Please report problems to bugs@openvswitch.org.
+
+[INSTALL.md]:INSTALL.md