From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlKGX-000161-KI for qemu-devel@nongnu.org; Sun, 01 Jul 2012 09:32:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlKGW-0001tF-0J for qemu-devel@nongnu.org; Sun, 01 Jul 2012 09:32:41 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:43369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlKGV-0001t6-NB for qemu-devel@nongnu.org; Sun, 01 Jul 2012 09:32:39 -0400 Received: by wibhm2 with SMTP id hm2so1958382wib.10 for ; Sun, 01 Jul 2012 06:32:37 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4FF05173.6090801@redhat.com> Date: Sun, 01 Jul 2012 15:32:35 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4FF02F2C.30006@ozlabs.ru> In-Reply-To: <4FF02F2C.30006@ozlabs.ru> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] QEMU question: is eventfd not thread safe? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alex Williamson , mst@redhat.com, qemu-devel@nongnu.org, David Gibson Il 01/07/2012 13:06, Alexey Kardashevskiy ha scritto: > Doing MSI init stuff, QEMU-VFIO calls the same event_notifier_init() > (returns recycled fd=XX what is correct but confuses) and > qemu_set_fd_handler() which adds a handler but select() does not pick > it up. This sounds like a missing qemu_notify_event(). There was a recent thread on a similar problem with block/iscsi.c. Paolo