[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130502200703.GE16684@pd.tnic>
Date: Thu, 2 May 2013 22:07:03 +0200
From: Borislav Petkov <bp@...en8.de>
To: Ingo Molnar <mingo@...nel.org>
Cc: "H. Peter Anvin" <hpa@...ux.intel.com>,
David Rientjes <rientjes@...gle.com>, hpa@...or.com,
linux-kernel@...r.kernel.org, penberg@...nel.org,
levinsasha928@...il.com, mtosatti@...hat.com, tglx@...utronix.de,
bp@...e.de, fengguang.wu@...el.com,
linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/urgent] x86/kconfig: Add a Kconfig shortcut for
building working KVM guest kernels
On Thu, May 02, 2013 at 09:45:56PM +0200, Ingo Molnar wrote:
> Boris, mind posting a working version?
Yeah, let's delay it for the next merge window - it looks like it needs
more experimenting and since it is not urgent enough...
FWIW, I did play a bit with it today and I ended up with the diff below
just to satisfy the CONFIG_PCI/MSI deps. However, if I want to shut them
all up, I need to pull in SMP, MODULE_UNLOAD, MODULE... and so on.
Which is kind of an overkill and I really don't want to do it.
I wonder if one can exclude options from randconfig until 'select' has
been taught to resolve dependencies...
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9dae342fa6f6..4c826ea8dd29 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -390,9 +390,10 @@ config X86_VSMP
bool "ScaleMP vSMP"
select HYPERVISOR_GUEST
select PARAVIRT
- depends on X86_64 && PCI
+ select PCI
+ select SMP
+ depends on X86_64
depends on X86_EXTENDED_PLATFORM
- depends on SMP
---help---
Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is
supposed to run on these EM64T-based machines. Only choose this option
@@ -685,6 +686,7 @@ config KVM_GUEST_COMMON_OPTIONS
bool "Enable commodity options for a standalone KVM guest"
depends on KVM_GUEST
select NET
+ select NET_CORE
select NETDEVICES
select BLOCK
select BLK_DEV
@@ -697,6 +699,12 @@ config KVM_GUEST_COMMON_OPTIONS
select IP_PNP
select IP_PNP_DHCP
select BINFMT_ELF
+# select SMP
+# select MODULE_UNLOAD
+ select X86_LOCAL_APIC
+ select X86_IO_APIC
+ select ARCH_SUPPORTS_MSI
+ select PCI
select PCI_MSI
select HAVE_ARCH_KGDB
select DEBUG_KERNEL
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists