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

Andrea Bolognani abologna at redhat.com
Tue Jun 1 08:37:41 UTC 2021


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 at redhat.com>
---
 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




More information about the libvir-list mailing list