From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuHkC-0003o8-Fi for qemu-devel@nongnu.org; Tue, 23 Mar 2010 23:59:00 -0400 Received: from [140.186.70.92] (port=43218 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuHkA-0003o0-7T for qemu-devel@nongnu.org; Tue, 23 Mar 2010 23:58:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuHk8-0007sG-0z for qemu-devel@nongnu.org; Tue, 23 Mar 2010 23:58:57 -0400 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:32820) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuHk6-0007rY-4E for qemu-devel@nongnu.org; Tue, 23 Mar 2010 23:58:55 -0400 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [202.81.31.247]) by e23smtp04.au.ibm.com (8.14.3/8.13.1) with ESMTP id o2O3t1uW029957 for ; Wed, 24 Mar 2010 14:55:01 +1100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2O3qhkJ1581084 for ; Wed, 24 Mar 2010 14:52:43 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o2O3wkoJ026744 for ; Wed, 24 Mar 2010 14:58:46 +1100 From: "Aneesh Kumar K. V" Subject: Re: [Qemu-devel] [PATCH -V2 00/22] virtio-9p: paravirtual file system passthrough In-Reply-To: <20100323201733.1db0a6ac@redhat.com> References: <1268730920-14584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <20100323201733.1db0a6ac@redhat.com> Date: Wed, 24 Mar 2010 09:28:36 +0530 Message-ID: <87ociejrpv.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: ericvh@gmail.com, aliguori@us.ibm.com, qemu-devel@nongnu.org On Tue, 23 Mar 2010 20:17:33 -0300, Luiz Capitulino wrote: > On Tue, 16 Mar 2010 14:44:58 +0530 > "Aneesh Kumar K.V" wrote: > > > Hi, > > > > > > This patch series adds a paravirtual file system passthrough mechanism to QEMU > > based on the 9P protocol. With the current implementation, all I/O is implemented > > in the VCPU thread. We've modified the protocol handlers so that we can support > > dispatch I/O in a thread pool. The actual thread pool implementation will be posted later > > > > This patch set should work with any recent Linux kernel as virtio-9p has been > > supported for a few kernel releases now. Export dir is specified using the below > > Qemu option. > > > > -device virtio-9p-pci,share_path=/mnt/,mount_tag=v_mnt > > > > mount_tag is used to identify the mount point in the kernel. This will be available in Linux > > kernel via /sys/devices/virtio-pci/virtio1/mount_tag file. > > I tried this very '-device' line and I can see that the guest has loaded > the virtio modules, but there isn't anything in the virtio0 directory other > than standard sysfs files. > > Is there a way to debug this? > which version of the kernel ? The latest linus tree have all the needed changes. You should have /sys/bus/virtio/drivers/9pnet_virtio/ if you have CONFIG_NET_9P_VIRTIO enabled. You can then find mount tag at virtio/mount_tag > Something possibly related is that, I had to rewind the tree by some commits > because this series doesn't apply against current HEAD. The patches are against 0aef4261ac0ec9089ade0e3a92f986cb4ba7317e of the master branch -aneesh