KVM: Add KVM_MMIO kconfig item
authorAvi Kivity <avi@redhat.com>
Sun, 20 Dec 2009 13:00:10 +0000 (15:00 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:41 +0000 (12:35 -0300)
s390 doesn't have mmio, this will simplify ifdefing it out.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/Kconfig
arch/powerpc/kvm/Kconfig
arch/x86/kvm/Kconfig
virt/kvm/Kconfig

index ef3e7be29caf6dd7b18f04afa21c3e5fdb43e753..bf82e47c98bbf88d060d61e8d0c8b46b8a6a7ef6 100644 (file)
@@ -26,6 +26,7 @@ config KVM
        select ANON_INODES
        select HAVE_KVM_IRQCHIP
        select KVM_APIC_ARCHITECTURE
+       select KVM_MMIO
        ---help---
          Support hosting fully virtualized guest machines using hardware
          virtualization extensions.  You will need a fairly recent
index 6fb6e8aa389039a4258d4a2935817cf1c8428e3e..be28968c79415d0a4a7cca850b341c217e769ffc 100644 (file)
@@ -20,6 +20,7 @@ config KVM
        bool
        select PREEMPT_NOTIFIERS
        select ANON_INODES
+       select KVM_MMIO
 
 config KVM_BOOK3S_64_HANDLER
        bool
index 4cd4983324668dea20618e6492d73f9a3f6f5b75..06871111bf545a671d5ffc9fb49782637bb46f6a 100644 (file)
@@ -29,6 +29,7 @@ config KVM
        select HAVE_KVM_EVENTFD
        select KVM_APIC_ARCHITECTURE
        select USER_RETURN_NOTIFIER
+       select KVM_MMIO
        ---help---
          Support hosting fully virtualized guest machines using hardware
          virtualization extensions.  You will need a fairly recent
index daece36c0a5754a26af7e216b00e1d5ce71855a4..7f1178f6b839d42d96df35fd82ac26e36a03a15d 100644 (file)
@@ -12,3 +12,6 @@ config HAVE_KVM_EVENTFD
 
 config KVM_APIC_ARCHITECTURE
        bool
+
+config KVM_MMIO
+       bool