From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35082 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHMac-0002c9-UV for qemu-devel@nongnu.org; Wed, 26 May 2010 15:48:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHMab-0003Op-Ew for qemu-devel@nongnu.org; Wed, 26 May 2010 15:48:30 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:34026) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHMab-0003OV-9O for qemu-devel@nongnu.org; Wed, 26 May 2010 15:48:29 -0400 Received: by fxm10 with SMTP id 10so1986454fxm.4 for ; Wed, 26 May 2010 12:48:28 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4BFD7B06.1030103@redhat.com> Date: Wed, 26 May 2010 21:48:22 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1274882978-9875-1-git-send-email-pbonzini@redhat.com> <1274882978-9875-7-git-send-email-pbonzini@redhat.com> <4BFD6631.6040509@twiddle.net> In-Reply-To: <4BFD6631.6040509@twiddle.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 6/8] enable event_notifier to use pipes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On 05/26/2010 08:19 PM, Richard Henderson wrote: > On 05/26/2010 07:09 AM, Paolo Bonzini wrote: >> -#ifdef CONFIG_EVENTFD >> -#include >> -#endif > > Is there a reason not to use eventfd if it is available? qemu_eventfd chooses between eventfd or pipes. The reads and writes are done so that both cases are accomodated. Paolo