[PATCH 2/2] virt-driver-vz: Require parallels-7.0.22 at least

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 configure.ac         | 1 +
 m4/virt-driver-vz.m4 | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 71c3bb6..a7f38e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/m4/virt-driver-vz.m4 b/m4/virt-driver-vz.m4
index 704976e..67001dc 100644
--- a/m4/virt-driver-vz.m4
+++ b/m4/virt-driver-vz.m4
@@ -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
-- 
2.3.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]