Received: from eggs.gnu.org ([2001:4830:134:3::10]:37557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhums-0001pe-Gj for qemu-devel@nongnu.org; Thu, 08 Sep 2016 04:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhumn-0005Sc-2I for qemu-devel@nongnu.org; Thu, 08 Sep 2016 04:34:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhumm-0005SX-Te for qemu-devel@nongnu.org; Thu, 08 Sep 2016 04:34:17 -0400 From: Maxime Coquelin Date: Thu, 8 Sep 2016 10:34:08 +0200 Message-Id: <1473323650-13298-1-git-send-email-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/2] vhost-user: set_mem_table updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mst@redhat.com, qemu-devel@nongnu.org Cc: prerna.saxena@nutanix.com, marcandre.lureau@redhat.com, peter.maydell@linaro.org, Maxime Coquelin The series first restore the GET_FEATURES call in vhost_set_mem_table(), as the hang it introduced was due to the use of TCG in the vhost-user-tes= t, mode which is no more used since commit cdafe929 ("vhost-user-test: Use l= ibqos instead of pxe-virtio.rom"). Second patch aims at being as close as possible to original behaviour, and so only request a sync after having updated the mem table when necess= ary. I'll be glad to get your feedback, especially on patch 2, to confirm my understanding is correct, and the sync is not required in the listed case= s. Thanks, Maxime Maxime Coquelin (2): Revert "Revert "vhost-user: Attempt to fix a race with set_mem_table."" vhost-user: only seek a reply if needed in set_mem_table hw/virtio/vhost-user.c | 134 +++++++++++++++++++++++++---------------= ------ hw/virtio/vhost.c | 10 ++++ include/hw/virtio/vhost.h | 1 + 3 files changed, 85 insertions(+), 60 deletions(-) --=20 2.7.4