summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-01-18 12:20:44 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-01-18 19:30:28 +0100
commit92e88b4e903dc6de7a82b76fd241e2ac6f87aa9e (patch)
tree56718f34ff36abcc7c9dccb2ba9af022d0f92e3a /arch/mips/Kconfig
parent1befdd5536e1500371f7f884d0f0ae528a519333 (diff)
MIPS: add CONFIG_VIRTUALIZATION for virtio support
Add CONFIG_VIRTUALIZATION to the MIPS architecture and include the the virtio code there. Used to enable the virtio drivers under QEMU. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2002/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 1adca2c3df0..548e6cc3bc2 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2421,4 +2421,20 @@ source "security/Kconfig"
source "crypto/Kconfig"
+menuconfig VIRTUALIZATION
+ bool "Virtualization"
+ default n
+ ---help---
+ Say Y here to get to see options for using your Linux host to run other
+ operating systems inside virtual machines (guests).
+ This option alone does not add any kernel code.
+
+ If you say N, all options in this submenu will be skipped and disabled.
+
+if VIRTUALIZATION
+
+source drivers/virtio/Kconfig
+
+endif # VIRTUALIZATION
+
source "lib/Kconfig"