From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [RFC] Bring in all the Linux headers we depend on in QEMU Date: Mon, 04 May 2009 08:24:13 -0500 Message-ID: <49FEEC7D.8090601@codemonkey.ws> References: <49FE0E97.30602@codemonkey.ws> <49FEB0A6.4080104@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "qemu-devel@nongnu.org" , kvm-devel To: Avi Kivity Return-path: Received: from yx-out-2324.google.com ([74.125.44.30]:60060 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015AbZEDNYR (ORCPT ); Mon, 4 May 2009 09:24:17 -0400 Received: by yx-out-2324.google.com with SMTP id 3so2219248yxj.1 for ; Mon, 04 May 2009 06:24:16 -0700 (PDT) In-Reply-To: <49FEB0A6.4080104@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > Anthony Liguori wrote: >> Comments? >> > > Thinking again about it, this is not really necessary. > > 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. kernel-headers is not usually installed by default. Also, I'd rather not deal with #ifdef code as we introduce new features like TUN_VNET_HDR. Regards, Anthony Liguori