KVM: PPC: MPIC: Restrict to e500 platforms
authorAlexander Graf <agraf@suse.de>
Tue, 16 Apr 2013 23:54:26 +0000 (01:54 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:26 +0000 (20:27 +0200)
The code as is doesn't make any sense on non-e500 platforms. Restrict it
there, so that people don't get wrong ideas on what would actually work.

This patch should get reverted as soon as it's possible to either run e500
guests on non-e500 hosts or the MPIC emulation gains support for non-e500
modes.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/Kconfig

index 4bf10b5..656e0bc 100644 (file)
@@ -153,7 +153,7 @@ config KVM_E500MC
 
 config KVM_MPIC
        bool "KVM in-kernel MPIC emulation"
-       depends on KVM
+       depends on KVM && E500
        select HAVE_KVM_IRQCHIP
        select HAVE_KVM_IRQ_ROUTING
        select HAVE_KVM_MSI