[PATCH] Enable VMware driver by default

Michal Privoznik mprivozn at redhat.com
Tue Jan 5 09:51:02 UTC 2021


During rewrite to meson it was mistakenly disabled. Originally,
we had:

  LIBVIRT_ARG_WITH_FEATURE([VMWARE], [VMware], [yes])

which enabled the driver by default. But in meson we are checking
whether the 'driver_vmware' option is enabled without anything
enabling it automagically.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 3f3412975b..b5164f68ed 100644
--- a/meson.build
+++ b/meson.build
@@ -1790,7 +1790,7 @@ if not get_option('driver_vbox').disabled() and conf.has('WITH_LIBVIRTD')
   conf.set_quoted('VBOX_XPCOMC_DIR', get_option('vbox_xpcomc_dir'))
 endif
 
-if get_option('driver_vmware').enabled()
+if not get_option('driver_vmware').disabled()
   conf.set('WITH_VMWARE', 1)
   conf.set('WITH_VMX', 1)
 endif
-- 
2.26.2




More information about the libvir-list mailing list