netdev-dpdk: fix mbuf leaks
[cascardo/ovs.git] / INSTALL.XenServer.md
index 072a9f2..0c64be3 100644 (file)
@@ -5,7 +5,10 @@ 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.md] instead.
 
-These instructions have been tested with XenServer 5.6 FP1.
+Open vSwitch should work with XenServer 5.6.100 and later.  However,
+Open vSwitch requires Python 2.7 or later, so using Open vSwitch with
+XenServer 6.5 or earlier requires installing Python 2.7.
+
 
 Building Open vSwitch for XenServer
 -----------------------------------
@@ -81,26 +84,16 @@ where:
     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.  Correspondingly, the the final "rpmbuild" step changes to:
+KERNEL_FLAVOR.  In fact, only providing the `uname -r` output is enough.
+So, the final "rpmbuild" step changes to:
 
    ```
-   VERSION=<Open vSwitch version>
-   KERNEL_NAME=<Xen Kernel name>
-   KERNEL_VERSION=<Xen Kernel version>
-   XEN_VERSION=<Xen Kernel flavor(suffix) >
+   KERNEL_UNAME=<`uname -r` output>
    rpmbuild \
-        -D "openvswitch_version $VERSION" \
-        -D "kernel_name $KERNEL_NAME" \
-        -D "kernel_version $KERNEL_VERSION" \
-        -D "xen_version $XEN_VERSION" \
+        -D "kenel_uname $KERNEL_UNAME" \
         -bb xenserver/openvswitch-xen.spec
    ```
 
-where:
-
-    `<Xen Version>` is the output of `uname -r`.  Since XenServer 6.5, the
-    directory name in 'lib/modules/' becomes a shortened expression of the
-    KERNEL_VERSION.
 
 Installing Open vSwitch for XenServer
 -------------------------------------