From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753674Ab2GNMnj (ORCPT ); Sat, 14 Jul 2012 08:43:39 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:48126 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753211Ab2GNMnh (ORCPT ); Sat, 14 Jul 2012 08:43:37 -0400 Date: Sat, 14 Jul 2012 16:43:32 +0400 From: Cyrill Gorcunov To: Pekka Enberg Cc: Borislav Petkov , richard -rw- weinberger , "Myklebust, Trond" , Linus Torvalds , Dave Jones , Greg Kroah-Hartman , Ubuntu Kernel Team , Debian Kernel Team , OpenSUSE Kernel Team , Linux Kernel Mailing List , Ingo Molnar , Sasha Levin , Asias He Subject: Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues Message-ID: <20120714124332.GA4093@moon> References: <1342212885.25704.4.camel@lade.trondhjem.org> <20120714103716.GD26559@liondog.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 14, 2012 at 03:12:05PM +0300, Pekka Enberg wrote: > On Sat, Jul 14, 2012 at 1:37 PM, Borislav Petkov wrote: > > On Fri, Jul 13, 2012 at 11:41:21PM +0200, richard -rw- weinberger wrote: > >> On Fri, Jul 13, 2012 at 10:54 PM, Myklebust, Trond > >> wrote: > >> > We could at least make selection of a minimal set of drivers for the > >> > more common virtualised platforms a lot easier. > >> > Right now, you need to hunt through 30+ different menus in order to find > >> > what you need to run in a basic KVM virtual machine... > >> > >> Yes, every time I build a kernel to be used on KVM I forget something. :-\ > >> > >> We could introduce a section in Kconfig which contains selections for > >> common use cases. > >> E.g. as Linus requested for minimal distro requirements but also > >> selections for various common > >> guest configurations. > > > > +1. > > > > Same experience with building a kvm kernel so I couldn't agree more. > > We have "make kvmconfig" in the KVM tool tree that pretty much does > that automatically. There's nothing tools/kvm specific about it so I > guess you could merge that separately. Yup, "make kvmconfig" does things right but I guess a general mechanism might be preferred here :) Look, if (at the moment) I'm going to nconfig and virt. section, I see Virtualization Kernel-based Virtual Machine (KVM) support KVM for Intel processors support KVM for AMD processors support Audit KVM MMU Host kernel accelerator for virtio net (EXPERIMENTAL) and everytime I'm here I need to remember where to search for virtio devices I would like to include into config. Though I expect to see in this secrion everything related to virtualization and have a way to turn on virtio-ring and etc. For example to enable "PCI driver for virtio devices" I need to go to Device Drivers -> Virtio drivers, while I think it would be great to have everything virt. related in Virtualization section. (note, I know how to enable all this and where to lookup for this entries of course, but I guess for regular users it would be easier to enable various virt. features if they are gathered in one place) Cyrill