From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDxi6-0000Hz-Ln for qemu-devel@nongnu.org; Fri, 08 Mar 2013 08:51:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDxi2-0008Oy-9e for qemu-devel@nongnu.org; Fri, 08 Mar 2013 08:51:46 -0500 Received: from mail-qa0-f51.google.com ([209.85.216.51]:47199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDxi2-0008Os-5R for qemu-devel@nongnu.org; Fri, 08 Mar 2013 08:51:42 -0500 Received: by mail-qa0-f51.google.com with SMTP id cr7so965215qab.17 for ; Fri, 08 Mar 2013 05:51:41 -0800 (PST) Sender: Paolo Bonzini Message-ID: <5139ECE6.5050601@redhat.com> Date: Fri, 08 Mar 2013 14:51:34 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1362388531-32305-1-git-send-email-stefanha@redhat.com> <1362388531-32305-4-git-send-email-stefanha@redhat.com> <5139A359.9030407@de.ibm.com> <5139ADDC.1040101@redhat.com> <20130308134413.74dc62bf@gondolin> In-Reply-To: <20130308134413.74dc62bf@gondolin> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/9] dataplane: remove EventPoll in favor of AioContext List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: Anthony Liguori , qemu-devel@nongnu.org, Dominik Dingel , Christian Borntraeger , Jens Freimann , Stefan Hajnoczi Il 08/03/2013 13:44, Cornelia Huck ha scritto: >> > Perhaps you can simply hard-code with_irqfd to false in this call to >> > virtio_queue_set_guest_notifier_fd_handler and the one below? Then the >> > guest notifier will be emulated in userspace and processed via >> > vdev->binding->notify. > > Well, effectively with_irqfd is already hardcoded to false (as > virtio_ccw_set_guest_notifiers() always calls this function with > with_irqfd=false), so that doesn't seem to be the problem here. Actually, the guest->host notifier is not touched by either the old or the new code. The code I modified only worries about the host->guest notifier. How did you track the problem to the assignment by value of EventNotifiers? BTW: >> You will not need to overwrite the EventNotifier which is IMO a pretty >> ufly violation of encapsulation. This was nonsense. :) Paolo