]> xenbits.xensource.com Git - libvirt.git/commitdiff
virt-driver-vz: Require parallels-7.0.22 at least
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Jul 2015 14:32:00 +0000 (17:32 +0300)
committerDmitry Guryanov <dguryanov@parallels.com>
Mon, 13 Jul 2015 16:46:10 +0000 (19:46 +0300)
With the latest patch to the vz driver (7d73ca06cefe) I was
getting some compilation errors. It turned out, my installation
of the parallels SDK was not as fresh as it could be. Parallels
installed in my system were missing the
PRL_USE_VNET_NAME_FOR_BRIDGE_NAME symbol which simply was not
introduced at the time I was installing the SDK. The symbol was
introduced in 86e62a5d which was then part of the 7.0.22 release.
Require that version at least therefore.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
configure.ac
m4/virt-driver-vz.m4

index 71c3bb6f3d280880985d55bfdc3af25293cb123a..a7f38e8471012ce2f86dff54b65f24ed2dd81237 100644 (file)
@@ -123,6 +123,7 @@ PARTED_REQUIRED="1.8.0"
 DEVMAPPER_REQUIRED=1.0.0
 LIBPCAP_REQUIRED="1.0.0"
 LIBNL_REQUIRED="1.1"
+PARALLELS_SDK_REQUIRED="7.0.22"
 
 dnl Checks for C compiler.
 AC_PROG_CC
index 704976ebd4621042057d709f3d4ea6b482a1c573..67001dce50fe8f233305d092440c0cd3b88328f8 100644 (file)
@@ -25,7 +25,7 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_VZ],[
 
     if test "$with_vz" = "yes" ||
        test "$with_vz" = "check"; then
-        PKG_CHECK_MODULES([PARALLELS_SDK], [parallels-sdk],
+        PKG_CHECK_MODULES([PARALLELS_SDK], [parallels-sdk >= $PARALLELS_SDK_REQUIRED],
                           [PARALLELS_SDK_FOUND=yes], [PARALLELS_SDK_FOUND=no])
 
         if test "$with_vz" = "yes" && test "$PARALLELS_SDK_FOUND" = "no"; then