From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJlM-0001WN-L2 for qemu-devel@nongnu.org; Fri, 12 Aug 2016 17:13:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYJlG-0008WT-JD for qemu-devel@nongnu.org; Fri, 12 Aug 2016 17:13:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJlG-0008WN-Dn for qemu-devel@nongnu.org; Fri, 12 Aug 2016 17:13:02 -0400 Date: Sat, 13 Aug 2016 00:12:57 +0300 From: "Michael S. Tsirkin" Message-ID: <20160813001158-mutt-send-email-mst@kernel.org> References: <1470842980-32481-1-git-send-email-mst@redhat.com> <1470842980-32481-4-git-send-email-mst@redhat.com> <20160812063828.GG2759@al.usersys.redhat.com> <1956404709.2011431.1470986456062.JavaMail.zimbra@redhat.com> <20160812184549-mutt-send-email-mst@kernel.org> <2113870924.2312015.1471017294088.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2113870924.2312015.1471017294088.JavaMail.zimbra@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 3/3] vhost-user: Attempt to fix a race with set_mem_table. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: Prerna Saxena , Fam Zheng , qemu-devel@nongnu.org, Peter Maydell , marcandre lureau On Fri, Aug 12, 2016 at 11:54:54AM -0400, Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 > ----- Original Message ----- > > On Fri, Aug 12, 2016 at 03:20:56AM -0400, Marc-Andr=C3=A9 Lureau wrot= e: > > > Hi > > >=20 > > > ----- Original Message ----- > > > > sent a follow-up response to GET_FEATURES), I am now wondering if= this > > > > patch > > > > may break existing vhost applications too ? If so, reverting it p= ossibly > > > > better. > > > > What confuses me is why it doesn=E2=80=99t fail all the time, but= only about 20% > > > > to > > > > 30% time as Fam reports. > > > >=20 > > > > Thoughts : Michael, Fam, MarcAndre ? > > >=20 > > > Indeed, I didn't ack that patch in the first place for that kind of > > > reasons, so I would revert it. > > >=20 > > > thanks > >=20 > > I guess that's the safest thing to do for 2.7. > > At least that's not any worse than 2.6. > > I still think it's a good idea long term and test should be fixed, > > but let's revert for now. > >=20 >=20 > What about other backends that may have similar expectations from the p= rotocol. >=20 > This patch is a hack, there is no reason to have it upstream. The reason is to avoid crashes with existing backends. > The solution is provided with the REPLY_ACK patch. It needs a backend update though. But the issue is old, it's not a regression. I think we lose nothing by pushing the work-around out until after 2.7. --=20 MST