summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-07-29 14:47:57 +0200
committerAvi Kivity <avi@redhat.com>2010-10-24 10:50:50 +0200
commitd17051cb8d223dffd6bb847b0565ef1654f8e0e1 (patch)
tree486a1b71ec2147de47a6a4c34c9b9ab88be039e7 /arch/powerpc/platforms
parentba492962363a02c45836be205f339be48093e1be (diff)
downloadlinux-stable-d17051cb8d223dffd6bb847b0565ef1654f8e0e1.tar.gz
linux-stable-d17051cb8d223dffd6bb847b0565ef1654f8e0e1.tar.bz2
linux-stable-d17051cb8d223dffd6bb847b0565ef1654f8e0e1.zip
KVM: PPC: Generic KVM PV guest support
We have all the hypervisor pieces in place now, but the guest parts are still missing. This patch implements basic awareness of KVM when running Linux as guest. It doesn't do anything with it yet though. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 81c9208025fa..956154f32cfe 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -21,6 +21,16 @@ source "arch/powerpc/platforms/44x/Kconfig"
source "arch/powerpc/platforms/40x/Kconfig"
source "arch/powerpc/platforms/amigaone/Kconfig"
+config KVM_GUEST
+ bool "KVM Guest support"
+ default y
+ ---help---
+ This option enables various optimizations for running under the KVM
+ hypervisor. Overhead for the kernel when not running inside KVM should
+ be minimal.
+
+ In case of doubt, say Y
+
config PPC_NATIVE
bool
depends on 6xx || PPC64