1 From: Alexander Graf <agraf@suse.de>
2 Date: Sat, 18 Oct 2008 01:18:24 +0200
3 Subject: Allow KVM to be built as KMP
4 References: FATE#303679
6 As discussed on the kernel mailinglist, we need a helper config
7 option to enable KVM dependencies in the kernel, so we can
8 build it as a KMP later on. This patch provides this option.
10 Signed-off-by: Alexander Graf <agraf@suse.de>
11 Signed-off-by: Hannes Reinecke <hare@suse.de>
13 arch/x86/kvm/Kconfig | 14 ++++++++++++++
14 1 files changed, 14 insertions(+), 0 deletions(-)
16 Index: linux-2.6.27/arch/x86/kvm/Kconfig
17 ===================================================================
18 --- linux-2.6.27.orig/arch/x86/kvm/Kconfig
19 +++ linux-2.6.27/arch/x86/kvm/Kconfig
20 @@ -17,6 +17,20 @@ menuconfig VIRTUALIZATION
25 + bool "Build Kernel-based Virtual Machine (KVM) as KMP"
27 + select PREEMPT_NOTIFIERS
31 + Normally KVM has to be enabled in the kernel config to automatically
32 + select depending features. Because we are building KVM as a KMP, we
33 + need the chance to only select the dependencies, but not build KVM
39 tristate "Kernel-based Virtual Machine (KVM) support"
41 Index: linux-2.6.27/arch/ia64/kvm/Kconfig
42 ===================================================================
43 --- linux-2.6.27.orig/arch/ia64/kvm/Kconfig
44 +++ linux-2.6.27/arch/ia64/kvm/Kconfig
45 @@ -17,6 +17,19 @@ menuconfig VIRTUALIZATION
50 + bool "Build Kernel-based Virtual Machine (KVM) as KMP"
52 + select PREEMPT_NOTIFIERS
55 + Normally KVM has to be enabled in the kernel config to automatically
56 + select depending features. Because we are building KVM as a KMP, we
57 + need the chance to only select the dependencies, but not build KVM
63 tristate "Kernel-based Virtual Machine (KVM) support"
64 depends on HAVE_KVM && EXPERIMENTAL