Received: from eggs.gnu.org ([2001:4830:134:3::10]:41745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkVTr-0000OQ-I4 for qemu-devel@nongnu.org; Thu, 15 Sep 2016 08:09:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkVTn-0001w6-9n for qemu-devel@nongnu.org; Thu, 15 Sep 2016 08:09:26 -0400 Received: from 20.mo6.mail-out.ovh.net ([178.32.124.17]:38941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkVTn-0001vm-3g for qemu-devel@nongnu.org; Thu, 15 Sep 2016 08:09:23 -0400 Received: from player776.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo6.mail-out.ovh.net (Postfix) with ESMTP id AEE55FFB362 for ; Thu, 15 Sep 2016 14:09:16 +0200 (CEST) Date: Thu, 15 Sep 2016 14:09:12 +0200 From: Greg Kurz Message-ID: <20160915140912.69899f70@bahia> In-Reply-To: <20160915104045.129c483e.cornelia.huck@de.ibm.com> References: <147340827736.6462.8546871953640244651.stgit@bahia> <147340829147.6462.6214637588245966144.stgit@bahia> <20160915104045.129c483e.cornelia.huck@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] tests: virtio-9p: add basic configuration test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: qemu-devel@nongnu.org, "Aneesh Kumar K.V" , "Michael S. Tsirkin" On Thu, 15 Sep 2016 10:40:45 +0200 Cornelia Huck wrote: > On Fri, 09 Sep 2016 10:04:51 +0200 > Greg Kurz wrote: > > > This adds PCI init code and a basic test that checks the device config > > matches what is passed on the command line. > > > > Signed-off-by: Greg Kurz > > --- > > tests/Makefile.include | 2 + > > tests/virtio-9p-test.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++- > > 2 files changed, 81 insertions(+), 3 deletions(-) > > > +static const char mount_tag[] = "qtest"; > > static char *test_share; > > > > static void qvirtio_9p_start(void) > > @@ -21,8 +29,8 @@ static void qvirtio_9p_start(void) > > g_assert_nonnull(mkdtemp(test_share)); > > > > args = g_strdup_printf("-fsdev local,id=fsdev0,security_model=none,path=%s " > > - "-device virtio-9p-pci,fsdev=fsdev0,mount_tag=qtest", > > - test_share); > > + "-device virtio-9p-pci,fsdev=fsdev0,mount_tag=%s", > > + test_share, mount_tag); > > > > qtest_start(args); > > g_free(args); > > Maybe move this change to patch 1? > It isn't strictly needed in patch 1 since the mount tag has only one user there, but on the other hand, it isn't related to the purpose of patch 2 either. So I guess your suggestion makes sense: I'll move this change. Thanks. -- Greg