From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH] qemu-kvm: add compat eventfd Date: Mon, 17 Aug 2009 11:13:41 +0300 Message-ID: <20090817081341.GC7794@redhat.com> References: <20090816142432.GA5572@redhat.com> <4A890F6D.40308@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:54554 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757385AbZHQIO6 (ORCPT ); Mon, 17 Aug 2009 04:14:58 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7H8Exrq001228 for ; Mon, 17 Aug 2009 04:15:00 -0400 Content-Disposition: inline In-Reply-To: <4A890F6D.40308@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 17, 2009 at 11:06:05AM +0300, Avi Kivity wrote: >> diff --git a/configure b/configure >> index 84af8bd..bb2680f 100755 >> --- a/configure >> +++ b/configure >> @@ -866,6 +866,7 @@ if test "$kvm" = "yes" ; then >> >> kvm_cflags="-I$source_path/kvm/include" >> kvm_cflags="$kvm_cflags -I$source_path/kvm/include/$kvm_arch" >> +kvm_cflags="$kvm_cflags -I$source_path/compat" >> >> > er, that will override sys/eventfd.h even if it does exist. We need to prefer the system eventfd.h to ours. OK, -idirafter does this. > > -- > error compiling committee.c: too many arguments to function