]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Enable VMware driver by default
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Jan 2021 09:18:57 +0000 (10:18 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Jan 2021 10:02:23 +0000 (11:02 +0100)
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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build

index 3f3412975b41b889383e767bceb572470f88c757..b5164f68edca10b655d56c3cf484f04dd1186683 100644 (file)
@@ -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