From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlUld-0001P9-Nj for qemu-devel@nongnu.org; Sun, 01 Jul 2012 20:45:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlUlc-0008Qu-3J for qemu-devel@nongnu.org; Sun, 01 Jul 2012 20:45:29 -0400 Received: from gate.crashing.org ([63.228.1.57]:55435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlUlb-0008Pp-RI for qemu-devel@nongnu.org; Sun, 01 Jul 2012 20:45:28 -0400 Message-ID: <1341189915.2588.12.camel@pasglop> From: Benjamin Herrenschmidt Date: Mon, 02 Jul 2012 10:45:15 +1000 In-Reply-To: References: <4FF02F2C.30006@ozlabs.ru> <20120701124314.GB4782@redhat.com> <4FF04939.7050608@ozlabs.ru> <1341184071.2588.10.camel@pasglop> <4FF0E5FB.1080200@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: Re: [Qemu-devel] QEMU question: is eventfd not thread safe? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ronnie sahlberg Cc: Alexey Kardashevskiy , Alex Williamson , "Michael S. Tsirkin" , qemu-devel@nongnu.org, David Gibson On Mon, 2012-07-02 at 10:42 +1000, ronnie sahlberg wrote: > > Would it be possible to change the set-event-handlers functions to > automatically call qemu_notify_event() when the descriptos change? > To eliminate the need to call this function at all ? That definitely sounds like the right thing to do. Cheers, Ben.