]> xenbits.xensource.com Git - libvirt.git/commitdiff
configure: zfs: enable on Linux
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 4 Feb 2016 00:13:10 +0000 (03:13 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 4 Feb 2016 00:16:50 +0000 (03:16 +0300)
ZFS-on-Linux implementation of ZFS starting with version 0.6.4
contains all the features we use. Additionally, as we support
'volmode' option handling that's not available on ZoL but is
available on FreeBSD, there is no need to block ZFS storage driver
on Linux anymore.

So un-mark zfs storage driver as FreeBSD-only.

configure.ac

index 3c5cbf977a220c0eb547d40ed42818508755c193..7d74f538438e84d8ad054493af63ff4ce3e4ff9c 100644 (file)
@@ -2011,14 +2011,6 @@ if test "$with_storage_gluster" = "yes"; then
 fi
 AM_CONDITIONAL([WITH_STORAGE_GLUSTER], [test "$with_storage_gluster" = "yes"])
 
-if test "$with_storage_zfs" = "check"; then
-    with_storage_zfs=$with_freebsd
-fi
-
-if test "$with_storage_zfs" = "yes" && test "$with_freebsd" = "no"; then
-    AC_MSG_ERROR([The ZFS storage driver can be enabled on FreeBSD only.])
-fi
-
 if test "$with_storage_zfs" = "yes" ||
    test "$with_storage_zfs" = "check"; then
   AC_PATH_PROG([ZFS], [zfs], [], [$PATH:/sbin:/usr/sbin])