From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JD7rd-0004ke-Bn for qemu-devel@nongnu.org; Thu, 10 Jan 2008 19:35:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JD7rc-0004j0-Gl for qemu-devel@nongnu.org; Thu, 10 Jan 2008 19:35:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD7rc-0004id-Ax for qemu-devel@nongnu.org; Thu, 10 Jan 2008 19:35:12 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JD7rb-00082h-UH for qemu-devel@nongnu.org; Thu, 10 Jan 2008 19:35:12 -0500 Received: by ug-out-1314.google.com with SMTP id m2so410054uge.4 for ; Thu, 10 Jan 2008 16:35:11 -0800 (PST) Message-ID: Date: Fri, 11 Jan 2008 01:35:11 +0100 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] [PATCH] e1000 emulation code In-Reply-To: <4786A66F.1010509@qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1199896975.4382.31.camel@localhost.localdomain> <4786A66F.1010509@qumranet.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dor.laor@qumranet.com Cc: kvm-devel , ir Peleg , qemu-devel@nongnu.org On 11/01/2008, Dor Laor wrote: > andrzej zaborowski wrote: > > Would it be possible to pick only the useful stuff from the header and > > put it into the same file, rather than maintaining a copy of a linux > > header (which is 3.5 bigger than the actual emulation in kLoC)? Qemu > > has avoided that until now. > > > > > I can but then how can you compile qemu for OS's which do not have > Linux/ or linux headers? I don't mean using the Linux header. I mean having all the necessary definitions in e1000.c or a different file but not with 3000 lines of unused definitions. Regards