]> git.baikalelectronics.ru Git - 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)
commitf32e6b3310182f32b1ab4dc97c5f811311c86ad4
treeaa0621fc7d49bf2f139853b1dbc4cff9093ac716
parent3fc140e25c944edd83d235e7d6bd8176b23acc7d
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