[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/5] 9p: Fix file ID collisions
From: |
Christian Schoenebeck |
Subject: |
[Qemu-devel] [PATCH v4 0/5] 9p: Fix file ID collisions |
Date: |
Wed, 26 Jun 2019 20:57:29 +0200 |
This is v4 of a proposed patch set for fixing file ID collisions with 9pfs.
v3->v4:
* Rebased to latest git master head.
* Splitted Antonios' patch set to its original 4 individual patches.
(was merged previously as only 1 patch).
* Addressed discussed issues directly on Antonios' patches
(was a separate patch before).
* Added virtfs command line option "remap_inodes": Unless this option
is not enabled, no inode remapping is performed at all, the user
just gets an error message when trying to use more than 1 device
per export.
* Dropped persistency feature of QIDs beyond reboots.
* Dropped disputed "vii" feature.
Greg, please check if I am doing anything superfluous in patch 3 regarding
the new command line parameter "remap_inodes".
Daniel, I also have a libvirt patch for this new "remap_inodes" command
line parameter, but I guess I wait for this qemu patch set to get through.
Christian Schoenebeck (5):
9p: unsigned type for type, version, path
9p: Treat multiple devices on one export as an error
9p: Added virtfs option "remap_inodes"
9p: stat_to_qid: implement slow path
9p: Use variable length suffixes for inode remapping
fsdev/9p-marshal.h | 6 +-
fsdev/file-op-9p.h | 1 +
fsdev/qemu-fsdev-opts.c | 7 +-
fsdev/qemu-fsdev.c | 6 +
hw/9pfs/9p.c | 448 +++++++++++++++++++++++++++++++++++++++++++++---
hw/9pfs/9p.h | 83 +++++++++
hw/9pfs/trace-events | 14 +-
qemu-options.hx | 17 +-
vl.c | 3 +
9 files changed, 550 insertions(+), 35 deletions(-)
--
2.11.0
[Qemu-devel] [PATCH v4 2/5] 9p: Treat multiple devices on one export as an error, Christian Schoenebeck, 2019/06/26