Patchwork [22/56] KVM: PPC: make e500v2 kvm and e500mc cpu mutually exclusive

login
register
mail settings
Submitter Alexander Graf
Date March 15, 2012, 12:10 p.m.
Message ID <1331813485-14722-23-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/146920/
State New
Headers show

Comments

Alexander Graf - March 15, 2012, 12:10 p.m.
We can't run e500v2 kvm on e500mc kernels, so indicate that by
making the 2 options mutually exclusive in kconfig.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch/powerpc/kvm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/kvm/Kconfig b/arch/powerpc/kvm/Kconfig
index 44a998d..f4dacb9 100644
--- a/arch/powerpc/kvm/Kconfig
+++ b/arch/powerpc/kvm/Kconfig
@@ -120,7 +120,7 @@  config KVM_EXIT_TIMING
 
 config KVM_E500V2
 	bool "KVM support for PowerPC E500v2 processors"
-	depends on EXPERIMENTAL && E500
+	depends on EXPERIMENTAL && E500 && !PPC_E500MC
 	select KVM
 	select KVM_MMIO
 	---help---