From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark McLoughlin Subject: Re: [RFC] Bring in all the Linux headers we depend on in QEMU Date: Mon, 04 May 2009 13:42:54 +0100 Message-ID: <1241440974.8777.38.camel@blaa> References: <49FE0E97.30602@codemonkey.ws> <49FEB0A6.4080104@redhat.com> Reply-To: Mark McLoughlin Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:38071 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754165AbZEDMnA (ORCPT ); Mon, 4 May 2009 08:43:00 -0400 In-Reply-To: <49FEB0A6.4080104@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 2009-05-04 at 12:08 +0300, Avi Kivity wrote: > In general a distro provides kernel headers matched to the running > kernel. For example F10 provides > kernel-headers-2.6.27.21-170.2.56.fc10.x86_64 to go along with > kernel-2.6.27.21-170.2.56.fc10.x86_64. So a user running a distro > kernel (the majority, given that most people don't inflict pain upon > themselves unnecessarily) will have exactly the features exported by the > kernel. Right, but if you e.g. try to build a newer qemu-kvm on F10, you currently need newer kvm kernel headers - IMHO, we should use #ifdef to allow newer qemu-kvm build with older kvm headers. Cheers, Mark.