Re: [tip:x86/urgent] x86/kconfig: Add a Kconfig shortcut for buildingworking KVM guest kernels

From: David Rientjes
Date: Wed May 01 2013 - 17:00:16 EST


On Wed, 1 May 2013, Borislav Petkov wrote:

> ---
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index e8fff2f4ecb7..4f8ef85b0633 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -389,7 +389,8 @@ config X86_VSMP
> bool "ScaleMP vSMP"
> select HYPERVISOR_GUEST
> select PARAVIRT
> - depends on X86_64 && PCI
> + select PCI
> + depends on X86_64
> depends on X86_EXTENDED_PLATFORM
> depends on SMP
> ---help---
> @@ -664,6 +665,7 @@ config KVM_GUEST_COMMON_OPTIONS
> select IP_PNP
> select IP_PNP_DHCP
> select BINFMT_ELF
> + select PCI
> select PCI_MSI
> select HAVE_ARCH_KGDB
> select DEBUG_KERNEL

With this applied, two other types of conflicting dependencies:

warning: (KVM_GUEST_COMMON_OPTIONS) selects VIRTIO_NET which has unmet direct dependencies (NETDEVICES && NET_CORE && VIRTIO)

and

warning: (KVM_GUEST_COMMON_OPTIONS && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/