Skip to contentSkip to conversation

Enable E500 in KVM

PATCH In review Liu Yu 1 participant 1 message Dec 18, 2008

Subsystems (2)
lore
Share & tools
lore

Liu Yu

author
#0 lore raw

PATCH 8/10 Enable E500 in KVM

---
 arch/powerpc/kvm/Kconfig  |   13 +++++++++++++
 arch/powerpc/kvm/Makefile |    9 +++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
arch/powerpc/kvm/Kconfig +13 -0
index 6dbdc48..1465705 100644
@@ -43,6 +43,19 @@ config KVM_EXIT_TIMING
 
 	  If unsure, say N.
 
+config KVM_E500
+	bool "KVM support for PowerPC E500 processors"
+	depends on EXPERIMENTAL && E500
+	select KVM
+	---help---
+	  Support running unmodified E500 guest kernels in virtual machines on
+	  E500 host processors.
+
+	  This module provides access to the hardware capabilities through
+	  a character device node named /dev/kvm.
+
+	  If unsure, say N.
+
 config KVM_TRACE
 	bool "KVM trace support"
 	depends on KVM && MARKERS && SYSFS
arch/powerpc/kvm/Makefile +9 -0
index 3ef5261..4b2df66 100644
@@ -22,3 +22,12 @@ kvm-440-objs := \
 	44x_tlb.o \
 	44x_emulate.o
 obj-$(CONFIG_KVM_440) += kvm-440.o
+
+kvm-e500-objs := \
+	booke.o \
+	booke_emulate.o \
+	booke_interrupts.o \
+	e500.o \
+	e500_tlb.o \
+	e500_emulate.o
+obj-$(CONFIG_KVM_E500) += kvm-e500.o
Signature · 1 line
1.5.4