[libvirt] [PATCH 01/25] 4: virt-driver-libxl: remove Fedora 28 check

Pavel Hrdina posted 25 patches 6 years, 3 months ago
There is a newer version of this series
[libvirt] [PATCH 01/25] 4: virt-driver-libxl: remove Fedora 28 check
Posted by Pavel Hrdina 6 years, 3 months ago
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
---
 m4/virt-driver-libxl.m4 | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/m4/virt-driver-libxl.m4 b/m4/virt-driver-libxl.m4
index 2cd97cc68f..2f3565f1d5 100644
--- a/m4/virt-driver-libxl.m4
+++ b/m4/virt-driver-libxl.m4
@@ -36,23 +36,6 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_LIBXL], [
     LIBXL_EXECBIN_DIR=$($PKG_CONFIG --variable libexec_bin xenlight)
   fi
 
-  dnl In Fedora <= 28, the xenlight pkgconfig file is in the -runtime package
-  dnl https://bugzilla.redhat.com/show_bug.cgi?id=1629643
-  dnl Until Fedora 28 reaches EOL, fallback to lib probe if xenlight.pc is
-  dnl not found
-  if test "x$with_libxl" = "xno" ; then
-    with_libxl="$old_with_libxl"
-
-    save_CFLAGS="$CFLAGS"
-    CFLAGS="$CFLAGS $LIBXL_API_VERSION"
-    LIBVIRT_CHECK_LIB([LIBXL], [xenlight], [libxl_cpupool_cpuadd_cpumap], [libxl.h], [fail="1"])
-    CFLAGS="$save_CFLAGS"
-
-    if test $fail = 1; then
-      AC_MSG_ERROR([You must install the libxl Library from Xen >= 4.6 to compile libxenlight driver with -lxl])
-    fi
-  fi
-
   if test "$with_libxl" = "yes"; then
     LIBXL_CFLAGS="$LIBXL_CFLAGS $LIBXL_API_VERSION"
 
-- 
2.21.0

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

Re: [libvirt] [PATCH 01/25] 4: virt-driver-libxl: remove Fedora 28 check
Posted by Ján Tomko 6 years, 3 months ago
On Mon, Oct 21, 2019 at 10:00:26AM +0200, Pavel Hrdina wrote:
>Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
>---
> m4/virt-driver-libxl.m4 | 17 -----------------
> 1 file changed, 17 deletions(-)
>

s/4/m4/ in the commit summary

Reviewed-by: Ján Tomko <jtomko@redhat.com>

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