Received: from eggs.gnu.org ([2001:4830:134:3::10]:48901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkSE7-00074o-Vi for qemu-devel@nongnu.org; Thu, 15 Sep 2016 04:41:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkSE3-00048B-T1 for qemu-devel@nongnu.org; Thu, 15 Sep 2016 04:40:59 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkSE3-00047w-KL for qemu-devel@nongnu.org; Thu, 15 Sep 2016 04:40:55 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u8F8c9vN018378 for ; Thu, 15 Sep 2016 04:40:54 -0400 Received: from e06smtp09.uk.ibm.com (e06smtp09.uk.ibm.com [195.75.94.105]) by mx0a-001b2d01.pphosted.com with ESMTP id 25f8ucg861-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 15 Sep 2016 04:40:54 -0400 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 Sep 2016 09:40:51 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7CBE717D8024 for ; Thu, 15 Sep 2016 09:42:44 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u8F8emoX13959442 for ; Thu, 15 Sep 2016 08:40:48 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u8F8elT7018518 for ; Thu, 15 Sep 2016 02:40:47 -0600 Date: Thu, 15 Sep 2016 10:40:45 +0200 From: Cornelia Huck In-Reply-To: <147340829147.6462.6214637588245966144.stgit@bahia> References: <147340827736.6462.8546871953640244651.stgit@bahia> <147340829147.6462.6214637588245966144.stgit@bahia> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20160915104045.129c483e.cornelia.huck@de.ibm.com> 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: Greg Kurz Cc: qemu-devel@nongnu.org, "Aneesh Kumar K.V" , "Michael S. Tsirkin" 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?