linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: Add VIRTUALIZATION configuration menu and virtio options
@ 2011-09-28 15:48 Pawel Moll
  2011-10-06 14:46 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Pawel Moll @ 2011-09-28 15:48 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds menuconfig VIRTUALIZATION to arm Kconfig
and includes virtio Kconfig in it.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
---
 arch/arm/Kconfig |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3269576..426f330 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2101,4 +2101,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.6.3.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm: Add VIRTUALIZATION configuration menu and virtio options
  2011-09-28 15:48 [PATCH] arm: Add VIRTUALIZATION configuration menu and virtio options Pawel Moll
@ 2011-10-06 14:46 ` Russell King - ARM Linux
  2011-10-06 15:00   ` Pawel Moll
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2011-10-06 14:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Sep 28, 2011 at 04:48:06PM +0100, Pawel Moll wrote:
> This patch adds menuconfig VIRTUALIZATION to arm Kconfig
> and includes virtio Kconfig in it.
> 
> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
> ---
>  arch/arm/Kconfig |   16 ++++++++++++++++
>  1 files changed, 16 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 3269576..426f330 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -2101,4 +2101,20 @@ source "security/Kconfig"
>  
>  source "crypto/Kconfig"
>  
> +menuconfig VIRTUALIZATION
> +	bool "Virtualization"
> +	default n

Please resubmit without the line above.  default n is default's default
default, so it's completely redundant by default.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm: Add VIRTUALIZATION configuration menu and virtio options
  2011-10-06 14:46 ` Russell King - ARM Linux
@ 2011-10-06 15:00   ` Pawel Moll
  0 siblings, 0 replies; 3+ messages in thread
From: Pawel Moll @ 2011-10-06 15:00 UTC (permalink / raw)
  To: linux-arm-kernel

> > This patch adds menuconfig VIRTUALIZATION to arm Kconfig
> > and includes virtio Kconfig in it.

I had another look and it's actually not needed any more, as since
e72542191cbba4cf7fda21cb22e26b42d7415daf "virtio: expose for
non-virtualization users too" the drivers/virtio/Kconfig is included in
drivers/Kconfig.

> Please resubmit without the line above.  default n is default's default
> default, so it's completely redundant by default.

We have 606 redundant defaults then:

$ find . -name Kconfig\* | xargs grep "default n" | wc -l
606

Not something that would make me sleepless ;-)

Cheers!

Pawe?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-06 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 15:48 [PATCH] arm: Add VIRTUALIZATION configuration menu and virtio options Pawel Moll
2011-10-06 14:46 ` Russell King - ARM Linux
2011-10-06 15:00   ` Pawel Moll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).