From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS838-0000p1-PD for qemu-devel@nongnu.org; Thu, 21 Dec 2017 16:06:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS835-0005Kj-Ib for qemu-devel@nongnu.org; Thu, 21 Dec 2017 16:06:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60110) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eS835-0005KB-Cb for qemu-devel@nongnu.org; Thu, 21 Dec 2017 16:06:39 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8FAF47EBDB for ; Thu, 21 Dec 2017 21:06:38 +0000 (UTC) From: Maxime Coquelin Date: Thu, 21 Dec 2017 22:06:04 +0100 Message-Id: <20171221210609.17408-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 0/5] vhost-user-test: Fixes & code clean-up List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, stefanha@redhat.com, mst@redhat.com, mlureau@redhat.com Cc: Maxime Coquelin The two changes in this v2 are fixing the features mask before the function rework, and reword of commit message of patch "vhost-user-test: extract read-guest-mem test from main loop" (Thanks Marc-Andr=C3=A9). This series fixes two issues in vhost-user-test: 1. Setup virtqueues in all tests 2. Fix features mask for all but test_multiqueue() The clean-ups comprises making read-guest-mem test consistent with other tests by initializing the device in the qtest thread. Also, some code factorization is done with regard to device initialization so that all tests share the same init. Maxime Coquelin (5): vhost-user-test: fix features mask vhost-user-test: extract read-guest-mem test from main loop vhost-user-test: setup virtqueues in all tests vhost-user-test: make features mask an init_virtio_dev() argument vhost-user-test: use init_virtio_dev in multiqueue test tests/vhost-user-test.c | 171 ++++++++++++++++++++++--------------------= ------ 1 file changed, 79 insertions(+), 92 deletions(-) --=20 2.14.3