From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0HH9-00084U-Nr for qemu-devel@nongnu.org; Mon, 06 Jan 2014 16:00:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0HH4-0007I2-NE for qemu-devel@nongnu.org; Mon, 06 Jan 2014 15:59:55 -0500 Received: from mail-qa0-x231.google.com ([2607:f8b0:400d:c00::231]:46609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0HH4-0007Hy-IX for qemu-devel@nongnu.org; Mon, 06 Jan 2014 15:59:50 -0500 Received: by mail-qa0-f49.google.com with SMTP id ii20so3479548qab.15 for ; Mon, 06 Jan 2014 12:59:50 -0800 (PST) Sender: Paolo Bonzini Message-ID: <52CB1943.8010006@redhat.com> Date: Mon, 06 Jan 2014 21:59:47 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20140106125410.GD3119@zion.uk.xensource.com> <1389014715.19378.8.camel@hamster.uk.xensource.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?UTF-8?B?w4Frb3MgSw==?= =?UTF-8?B?b3bDoWNz?= , Wei Liu , Stefano Stabellini , QEMU Developers , "xen-devel@lists.xen.org" , Frediano Ziglio , Anthony Liguori Il 06/01/2014 16:04, Peter Maydell ha scritto: > On 6 January 2014 14:54, Stefano Stabellini > wrote: >> How would you avoid the compilation of all the >> unnecessary emulated devices? > > Didn't we have some patches for doing a Kconfig-style > "select the devices you need" build recently? It was really "select what boards you need" and "select any additional -device-capable devices you need". So the covered devices were basically ISA, PCI, USB and I2C. Other files (e.g. scsi-bus.c or sd.c) were picked up via dependencies so they could still be left out unless necessary. The final plan was to keep the default-configs/ files, and add dependency-handling via the Kconfig language but without Kconfig sources itself. Akos, did you go any further with your mini_kconfig.py parser? Paolo