Received: from eggs.gnu.org ([2001:4830:134:3::10]:41859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIDUO-0001gW-6q for qemu-devel@nongnu.org; Wed, 29 Jun 2016 07:17:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIDUJ-0003gQ-Up for qemu-devel@nongnu.org; Wed, 29 Jun 2016 07:17:03 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60012 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIDUJ-0003g8-Pt for qemu-devel@nongnu.org; Wed, 29 Jun 2016 07:16:59 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5TBEBaa059108 for ; Wed, 29 Jun 2016 07:16:58 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 23utc8ychr-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 29 Jun 2016 07:16:58 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Jun 2016 12:16:56 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 457662190061 for ; Wed, 29 Jun 2016 12:16:21 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u5TBGpFC8454626 for ; Wed, 29 Jun 2016 11:16:51 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u5TBGoV2011490 for ; Wed, 29 Jun 2016 05:16:50 -0600 Date: Wed, 29 Jun 2016 13:16:47 +0200 From: Cornelia Huck In-Reply-To: <5773275E.3030301@redhat.com> References: <5770F58F.2080402@kamp.de> <5773275E.3030301@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <20160629131647.6cab7621.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] Regression: virtio-pci: convert to ioeventfd callbacks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: Peter Lieven , "qemu-devel@nongnu.org" , famz@redhat.com, stefanha@redhat.com, "Michael S. Tsirkin" On Wed, 29 Jun 2016 09:41:50 +0800 Jason Wang wrote: =20 > On 2016=E5=B9=B406=E6=9C=8827=E6=97=A5 17:44, Peter Lieven wrote: > > Hi, with the above patch applied: > > > > commit 9f06e71a567ba5ee8b727e65a2d5347fd331d2aa > > Author: Cornelia Huck > > Date: Fri Jun 10 11:04:12 2016 +0200 > > > > virtio-pci: convert to ioeventfd callbacks > > > > a Ubuntu 14.04 VM freezes at startup when blk-mq is set up - even if=20 > > there is only one queue. > > > > Peter > > > > >=20 > In fact, I notice vhost-net does not work for master, look like we are=20 > trying to set host notifier without initialization which seems a bug Yes, that's the problem: We switch handlers, but the notifier has not yet been setup (that's different from the dataplane call sequence). I think we need to setup the notifier without touching the handler for that case. I'm working on a patch.