Received: from eggs.gnu.org ([2001:4830:134:3::10]:48459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIDzB-0005XV-Kl for qemu-devel@nongnu.org; Wed, 29 Jun 2016 07:48:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIDz7-0002b8-FG for qemu-devel@nongnu.org; Wed, 29 Jun 2016 07:48:52 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:40091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIDz7-0002b3-6C for qemu-devel@nongnu.org; Wed, 29 Jun 2016 07:48:49 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5TBiK8O083259 for ; Wed, 29 Jun 2016 07:48:48 -0400 Received: from e06smtp09.uk.ibm.com (e06smtp09.uk.ibm.com [195.75.94.105]) by mx0a-001b2d01.pphosted.com with ESMTP id 23usuaa5fe-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 29 Jun 2016 07:48:48 -0400 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Jun 2016 12:48:45 +0100 Date: Wed, 29 Jun 2016 13:48:40 +0200 From: Cornelia Huck In-Reply-To: References: <1466747621-4342-1-git-send-email-mst@redhat.com> <20160624085550-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <20160629134840.68dad7fc.cornelia.huck@de.ibm.com> Subject: Re: [Qemu-devel] [PULL 30/34] virtio-bus: have callers tolerate new host notifier api List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TWFyYy1BbmRyw6k=?= Lureau Cc: "Michael S. Tsirkin" , QEMU , Kevin Wolf , Peter Maydell , Fam Zheng , "open list:Block layer core" , Max Reitz , Stefan Hajnoczi , Paolo Bonzini On Wed, 29 Jun 2016 13:37:15 +0200 Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 > On Fri, Jun 24, 2016 at 7:55 AM, Michael S. Tsirkin wrot= e: > > From: Cornelia Huck > > > > Have vhost and dataplane use the new api for transports that > > have been converted. > > > > Signed-off-by: Cornelia Huck > > Reviewed-by: Fam Zheng > > Reviewed-by: Stefan Hajnoczi > > Reviewed-by: Michael S. Tsirkin > > Signed-off-by: Michael S. Tsirkin > > --- >=20 > This patch and further break vhost-user-test: >=20 > QTEST_QEMU_BINARY=3Dx86_64-softmmu/qemu-system-x86_64 tests/vhost-user-t= est > /x86_64/vhost-user/read-guest-mem: binding does not support host notifiers > qemu-system-x86_64: unable to start vhost net: 38: falling back on > userspace virtio > ** > ERROR:tests/vhost-user-test.c:162:wait_for_fds: assertion failed: (s->fds= _num) > Aborted (core dumped) Yes, there's an || that needs to be a && (too late to fix), and the mechanism does not work for vhost (currently working on a fix; our fallback is too good since it only prints a message but otherwise works).