Received: from eggs.gnu.org ([2001:4830:134:3::10]:47470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwold-0004Fx-St for qemu-devel@nongnu.org; Wed, 19 Oct 2016 07:10:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwolY-0000Lx-OL for qemu-devel@nongnu.org; Wed, 19 Oct 2016 07:10:41 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55244 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwolY-0000Lp-Hc for qemu-devel@nongnu.org; Wed, 19 Oct 2016 07:10:36 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u9JB905U022690 for ; Wed, 19 Oct 2016 07:10:35 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 26676q1qp5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 19 Oct 2016 07:10:35 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 19 Oct 2016 12:10:34 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 174B62190067 for ; Wed, 19 Oct 2016 12:09:48 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u9JBAVZA10944974 for ; Wed, 19 Oct 2016 11:10:31 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u9JBAT55018651 for ; Wed, 19 Oct 2016 05:10:30 -0600 Date: Wed, 19 Oct 2016 13:10:21 +0200 From: Cornelia Huck In-Reply-To: <1476100421-28772-11-git-send-email-pbonzini@redhat.com> References: <1476100421-28772-1-git-send-email-pbonzini@redhat.com> <1476100421-28772-11-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20161019131021.435822b2.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [PATCH 10/13] virtio: remove ioeventfd_disabled altogether List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, stefanha@redhat.com, borntraeger@de.ibm.com, famz@redhat.com, mst@redhat.com On Mon, 10 Oct 2016 13:53:38 +0200 Paolo Bonzini wrote: > Now that there is not anymore a switch from the generic ioeventfd handler > to the dataplane handler, virtio_bus_set_host_notifier(assign=true) is > always called with !bus->ioeventfd_started, hence virtio_bus_stop_ioeventfd > does nothing in this case. Move the invocation to vhost.c, which is the > only place that needs it. > > Signed-off-by: Paolo Bonzini > --- > hw/virtio/vhost.c | 3 +++ > hw/virtio/virtio-bus.c | 23 ++++++++--------------- > include/hw/virtio/virtio-bus.h | 6 ------ > 3 files changed, 11 insertions(+), 21 deletions(-) Reviewed-by: Cornelia Huck