mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
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: 2127d53f2f
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
1834e17097
commit
6f25a5ac8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user