summaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-04-28 07:46:11 +0200
committerPaul Mundt <lethal@linux-sh.org>2010-04-29 16:28:37 +0200
commit5f737b39be9110bd64874f508bd89ba27746b17e (patch)
treeb2203b60d20f1cb6120c833349c67eee3feb5c59 /arch/sh/Kconfig
parentsh: make latencytop available on SMP, too. (diff)
downloadlinux-5f737b39be9110bd64874f508bd89ba27746b17e.tar.xz
linux-5f737b39be9110bd64874f508bd89ba27746b17e.zip
sh: add CONFIG_VIRTUALIZATION for virtio support
Add CONFIG_VIRTUALIZATION to the SH architecture and include the virtio code there. Used to enable the virtio drivers under QEMU. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index c497307cf51b..c2325bd48fd3 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -871,4 +871,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"