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

David Miller davem at davemloft.net
Wed Aug 16 18:06:35 UTC 2017


From: Dexuan Cui <decui at microsoft.com>
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.


More information about the devel mailing list