]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xen/pvh: Use 'depend' instead of 'select'.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 10 Jan 2014 15:45:35 +0000 (10:45 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 10 Jan 2014 15:45:35 +0000 (10:45 -0500)
commit54d44eb3c7f6f893ae3b3cfb545145aa337976ca
treeaa0621fc7d49bf2f139853b1dbc4cff9093ac716
parent0db6991dd233396da766076caef71f36b4f96c21
xen/pvh: Use 'depend' instead of 'select'.

The usage of 'select' means it will enable the CONFIG
options without checking their dependencies. That meant
we would inadvertently turn on CONFIG_XEN_PVHM while its
core dependency (CONFIG_PCI) was turned off.

This patch fixes the warnings and compile failures:

warning: (XEN_PVH) selects XEN_PVHVM which has unmet direct
dependencies (HYPERVISOR_GUEST && XEN && PCI && X86_LOCAL_APIC)

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/Kconfig