From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfOog-0007HG-VF for qemu-devel@nongnu.org; Wed, 09 Aug 2017 07:06:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfOoe-0007PL-6f for qemu-devel@nongnu.org; Wed, 09 Aug 2017 07:06:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53850) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dfOoe-0007Oy-0Z for qemu-devel@nongnu.org; Wed, 09 Aug 2017 07:06:20 -0400 Date: Wed, 9 Aug 2017 13:06:14 +0200 From: Cornelia Huck Message-ID: <20170809130608.3ce61bd3.cohuck@redhat.com> In-Reply-To: <20170809114705.39dc0455@bahia.lan> References: <20170809071718.17924-1-cohuck@redhat.com> <20170809102737.18436fb4.cohuck@redhat.com> <20170809114705.39dc0455@bahia.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] 9pfs: fix dependencies List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz Cc: Thomas Huth , aneesh.kumar@linux.vnet.ibm.com, borntraeger@de.ibm.com, agraf@suse.de, qemu-devel@nongnu.org, Stefano Stabellini , Paolo Bonzini On Wed, 9 Aug 2017 11:47:05 +0200 Greg Kurz wrote: > On Wed, 9 Aug 2017 10:27:37 +0200 > Cornelia Huck wrote: > > > On Wed, 9 Aug 2017 10:23:04 +0200 > > Thomas Huth wrote: > > > But thinking about this again, I wonder whether it would be enough to > > > simply check for CONFIG_VIRTIO=y here instead. CONFIG_VIRTIO=y should be > > > sufficient to assert that there is also at least one kind of virtio > > > transport available, right? > > > Otherwise this will look really horrible as soon as somebody also tries > > > to add support for virtio-mmio here later ;-) > > > > And virtio isn't the only transport for 9p: we also have a Xen backend, > which happen to be built because targets that support Xen also have > CONFIG_PCI I guess. Only if they also have virtio enabled, no? Should the condition be VIRTFS && (VIRTIO || XEN), then?