From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHFFU-00043H-7q for qemu-devel@nongnu.org; Tue, 03 May 2011 09:02:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHFFT-0000i9-Bf for qemu-devel@nongnu.org; Tue, 03 May 2011 09:02:44 -0400 Received: from goliath.siemens.de ([192.35.17.28]:18962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHFFT-0000hx-1u for qemu-devel@nongnu.org; Tue, 03 May 2011 09:02:43 -0400 Message-ID: <4DBFFCEB.2060600@siemens.com> Date: Tue, 03 May 2011 15:02:35 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1304423686-18909-1-git-send-email-agraf@suse.de> <4DBFF1A3.2030702@siemens.com> <78134E6D-50FE-483B-8B9A-6A577AC4E47B@suse.de> <4DBFF595.8060607@siemens.com> <46A74D13-B0E8-48C7-A98D-0586F899DD84@suse.de> In-Reply-To: <46A74D13-B0E8-48C7-A98D-0586F899DD84@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] kvm: ppc: detect old headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Scott Wood , QEMU-devel Developers , "kvm@vger.kernel.org list" On 2011-05-03 14:33, Alexander Graf wrote: > > On 03.05.2011, at 14:31, Jan Kiszka wrote: > >> On 2011-05-03 14:28, Alexander Graf wrote: >>> >>> On 03.05.2011, at 14:14, Jan Kiszka wrote: >>> >>>> On 2011-05-03 13:54, Alexander Graf wrote: >>>>> When compiling Qemu with older kernel headers, the PVR setting >>>>> mechanism isn't available yet. Unfortunately, back then I didn't add >>>>> a capability we could check against, so all we can do is add a configure >>>>> test to see if we support PVR setting. For BookE, we don't care yet. >>>>> >>>>> This fixes compilation errors with KVM enabled on older kernel headers >>>>> (like 2.6.32). >>>> >>>> Why not finally import the latest kvm kernel headers into qemu? Would >>>> save us a lot of current and future configure and #ifdef dances. >>> >>> Sure, sounds like a good topic for today's call? >> >> Fine with me. Patch should be done by then as well. > > *shrug* I'm fairly indifferent on that topic. It would help users, so they can easier compile things, but requires us to keep the headers in sync. Do you have any good way of automating the process? There will be a 'make update-kvm-headers' target, imported from kvm-kmod. Can be run against some recent kernel, and the result will just have to be committed & posted. Moreover, I will drop alternative ways of pulling in headers (except via CFLAGS overwriting). That will typically bite the patch submitter who requires a header update and make her/him submit latest headers as well. So far at least for the theory. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux