linux-mips
[Top] [All Lists]

[PATCH 1/2] MIPS: add CONFIG_VIRTUALIZATION for virtio support

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 1/2] MIPS: add CONFIG_VIRTUALIZATION for virtio support
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Tue, 18 Jan 2011 12:20:44 +0100
Cc: Aurelien Jarno <aurelien@aurel32.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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>
---
 arch/mips/Kconfig |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f489ec3..f9d6a83 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2400,4 +2400,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"
-- 
1.7.2.3


<Prev in Thread] Current Thread [Next in Thread>