virtio-9p: paravirtual file system passthrough
Get series with b4
b4 am 1268730920-14584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest22 patches 9 repliesIn review
Changes from V1 from the cover letter
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
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | vitio-9p: Add a virtio 9p device to qemuMakefile.target hw/ hw/ +3 more | +814 | 0 replies | |
| 2/22 | vrtio-9p: Implement P9_TVERSION for 9Phw/ | +261 | 3 replies | |
| 3/22 | virtio-9p: Implement P9_TATTACHMakefile.target hw/ hw/ +3 more | +270 | 3 replies | |
| 4/22 | virtio-9p: Implement P9_TSTAThw/ hw/ | +174 | 0 replies | |
| 5/22 | virtio-9p: Implement P9_TWALKhw/ hw/ | +229 | 0 replies | |
| 6/22 | virtio-9p: Implement P9_TOPENhw/ hw/ | +151 | 0 replies | |
| 7/22 | virtio-9p: Implement P9_TREADhw/ hw/ | +287 | 0 replies | |
| 8/22 | virtio-9p: Implement P9_TCLUNKhw/ | +14 | 0 replies | |
| 9/22 | virtio-9p: Implement P9_TWRITEhw/ hw/ | +102 | 0 replies | |
| 10/22 | virtio-9p: Implement P9_TCREATEhw/ hw/ | +344 | 0 replies | |
| 11/22 | virtio-9p: Implement P9_TWSTAThw/ hw/ | +274 | 0 replies | |
| 12/22 | virtio-9p: Implement P9_TREMOVEhw/ hw/ | +59 | 0 replies | |
| 13/22 | virtio-9p: Implement P9_TFLUSHhw/ | +3 | 0 replies | |
| 14/22 | virtio-9p: Add multiple mount point supporthw/ hw/ hw/ +3 more | +296 | 0 replies | |
| 15/22 | virtio-9p: Use little endian format on virtiohw/ | +23 | 0 replies | |
| 16/22 | virtio-9p: Add support for hardlinkhw/ | +3 | 0 replies | |
| 17/22 | Implement sync support in 9p serverhw/ hw/ hw/ | +52 | 0 replies | |
| 18/22 | virtio-9p: Fix sg usage in the codehw/ hw/ hw/ | +98 | 0 replies | |
| 19/22 | virtio-9p: Get the correct count values from the pduhw/ | +19 | 0 replies | |
| 20/22 | virtio-9p: Remove BUG_ON and add proper error handlinghw/ | +84 | 0 replies | |
| 21/22 | virtio-9p: Remove unnecessary definition of fidhw/ | +29 | 0 replies | |
| 22/22 | virtio-9p: Update existing fid path on renamehw/ | +39 | 0 replies |
Reviews trailers per patch
1 of 22 patches has a Reviewed-by or Acked-by.
| Patch | Venkateswararao Jujjuri |
|---|---|
| 1/22 | |
| 2/22 | |
| 3/22 | |
| 4/22 | |
| 5/22 | |
| 6/22 | |
| 7/22 | |
| 8/22 | |
| 9/22 | |
| 10/22 | |
| 11/22 | |
| 12/22 | |
| 13/22 | |
| 14/22 | |
| 15/22 | |
| 16/22 | |
| 17/22 | |
| 18/22 | |
| 19/22 | |
| 20/22 | |
| 21/22 | R-b |
| 22/22 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH -V2 00/22] virtio-9p: paravirtual file system passthrough
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