Re: [PATCH net-next 1/3] VMCI: only load on VMware hypervisor

From: David Miller
Date: Wed Aug 16 2017 - 14:06:43 EST


From: Dexuan Cui <decui@xxxxxxxxxxxxx>
Date: Tue, 15 Aug 2017 22:13:29 +0000

> + /*
> + * Check if we are running on VMware's hypervisor and bail out
> + * if we are not.
> + */
> + if (x86_hyper != &x86_hyper_vmware)
> + return -ENODEV;

This symbol is only available when CONFIG_HYPERVISOR_GUEST is defined.
But this driver does not have a Kconfig dependency on that symbol so
the build can fail in some configurations.