From 6f25a5ac8aa6199afbf5d0206d102d0360d77c69 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 26 May 2021 17:47:05 +0200 Subject: [PATCH] meson: Fix vstorage detection 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 Reviewed-by: Pavel Hrdina --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6a3f5fa578..c203c43299 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