Received: from eggs.gnu.org ([2001:4830:134:3::10]:36686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNIZv-0006Yp-Fb for qemu-devel@nongnu.org; Mon, 16 Feb 2015 05:07:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNIZs-0007Jc-AP for qemu-devel@nongnu.org; Mon, 16 Feb 2015 05:06:59 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:59220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNIZs-0007JK-4A for qemu-devel@nongnu.org; Mon, 16 Feb 2015 05:06:56 -0500 Message-ID: <54E1C13E.5020709@msgid.tls.msk.ru> Date: Mon, 16 Feb 2015 13:06:54 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <87a90hoiup.fsf@blackfin.pond.sub.org> <20150213225421.GB30518@voom.redhat.com> <54DF4B6F.9010301@redhat.com> <20150215030231.GC30518@voom.redhat.com> <87sie6qofj.fsf@blackfin.pond.sub.org> In-Reply-To: <87sie6qofj.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Did we lose monitor commands pci_add, pci_del? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , Peter Maydell Cc: Paolo Bonzini , QEMU Developers , David Gibson 16.02.2015 10:57, Markus Armbruster wrote: [] > Back to serious: patching configure to make sure all the CONFIG_ make > variables make it into header files sounds good to me. > > With #ifdef tests, forgetting to include the header switches things off. > A single header makes guarding against that mistake easier: every .c > needs to include it first, check with grep. Single header means that any change in config options results in recompilation of everything. Linux kernel solves this but the mechanism is a bit heavy... Thanks, /mjt