summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-04-28 05:46:11 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-04-29 23:28:37 +0900
commit5f737b39be9110bd64874f508bd89ba27746b17e (patch)
treeb2203b60d20f1cb6120c833349c67eee3feb5c59
parentb7386a09ce7e8add333f5d67f2fe1b1eac1f4746 (diff)
downloadop-kernel-dev-5f737b39be9110bd64874f508bd89ba27746b17e.zip
op-kernel-dev-5f737b39be9110bd64874f508bd89ba27746b17e.tar.gz
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>
-rw-r--r--arch/sh/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index c497307..c2325bd 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"
OpenPOWER on IntegriCloud