[libvirt PATCH 10/26] meson: Fix vstorage detection

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

 



We're supposed to error out if the user has explicitly asked
for vstorage support to be enabled and that can't be done, but
we've been looking at the wrong option.

Fixes: 2127d53f2f90443f3e4919c1082350ee2b3096f1
Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 8aaa0ce370..35dbec6522 100644
--- a/meson.build
+++ b/meson.build
@@ -1838,7 +1838,7 @@ if conf.has('WITH_LIBVIRTD')
   if not get_option('storage_vstorage').disabled()
     vstorage_enable = true
     if host_machine.system() != 'linux'
-      if get_option('storage_fs').enabled()
+      if get_option('storage_vstorage').enabled()
         error('Vstorage is supported only on Linux')
       else
         vstorage_enable = false
-- 
2.31.1




[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]

  Powered by Linux