From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrSsK-0001op-9W for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:15:44 -0400 Received: from [199.232.76.173] (port=39534 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrSsJ-0001oG-D1 for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:15:43 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NrSsG-0008Mo-Ky for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:15:43 -0400 Received: from mx20.gnu.org ([199.232.41.8]:47209) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NrSsF-0008K0-8J for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:15:39 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NrSs9-0001Wd-F9 for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:15:34 -0400 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.31.245]) by e23smtp09.au.ibm.com (8.14.3/8.13.1) with ESMTP id o2G9FTf3003281 for ; Tue, 16 Mar 2010 20:15:29 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2G9FTRS1716460 for ; Tue, 16 Mar 2010 20:15:29 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o2G9FStX005361 for ; Tue, 16 Mar 2010 20:15:29 +1100 From: "Aneesh Kumar K.V" Date: Tue, 16 Mar 2010 14:44:58 +0530 Message-Id: <1268730920-14584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH -V2 00/22] virtio-9p: paravirtual file system passthrough List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ericvh@gmail.com, aliguori@us.ibm.com 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. Changes from V1: a) fsstress test suite runs successfully with the patches. That should indicate patches are stable enough to be merged. b) Added proper error handling to all posix_* calls. c) Fixed code to follow Qemu coding style. d) Other bug fixes most of which are folded back into the original patches e) rebased to qemu master 0aef4261ac0ec9089ade0e3a92f986cb4ba7317e -aneesh