Enable VMware driver by default

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>
This commit is contained in:
Michal Privoznik 2021-01-05 10:18:57 +01:00
parent 487de3c33a
commit 6d7415272e

View 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')) conf.set_quoted('VBOX_XPCOMC_DIR', get_option('vbox_xpcomc_dir'))
endif endif
if get_option('driver_vmware').enabled() if not get_option('driver_vmware').disabled()
conf.set('WITH_VMWARE', 1) conf.set('WITH_VMWARE', 1)
conf.set('WITH_VMX', 1) conf.set('WITH_VMX', 1)
endif endif