9pfs: introduce P9Array
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | 9pfs: introduce P9Arrayfsdev/ | +154 | 2 replies | |
| 2/5 | fsdev/p9array.h: check scalar type in P9ARRAY_NEW()fsdev/ | +6 | 0 replies | |
| 3/5 | 9pfs: make V9fsString usable via P9Array APIfsdev/ fsdev/ | +5 | 0 replies | |
| 4/5 | 9pfs: make V9fsPath usable via P9Array APIfsdev/ hw/ | +4 | 0 replies | |
| 5/5 | 9pfs: use P9Array in v9fs_walk()hw/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] 9pfs: introduce P9Array
This is simply a refactored follow-up of the following previous series ("introduce QArray"):
https://lists.gnu.org/archive/html/qemu-devel/2021-08/msg04530.html
There was no consensus about a project wide "QArray" shared utility code, nor does there seem to be a need for a project wide code, so let's just refactor QArray -> P9Array and make it a 9P local type for now:
https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg07743.html
Changes QArray v3 -> P9Array v1:
* Moved header file, i.e. include/qemu/qarray.h -> fsdev/p9array.h
* Refactored *QArray* -> *P9Array*
* Refactored P9ARRAY_CREATE -> P9ARRAY_NEW and
p9array_create_* -> p9array_new_* accordingly
* Refactored DECLARE_P9ARRAY_TYPE -> P9ARRAY_DECLARE_TYPE
* Refactored DEFINE_P9ARRAY_TYPE -> P9ARRAY_DEFINE_TYPE
[No behaviour changes whatsoever]
Christian Schoenebeck (5):
9pfs: introduce P9Array
fsdev/p9array.h: check scalar type in P9ARRAY_NEW() 9pfs: make V9fsString usable via P9Array API 9pfs: make V9fsPath usable via P9Array API 9pfs: use P9Array in v9fs_walk()
fsdev/9p-marshal.c | 2 + fsdev/9p-marshal.h | 3 + fsdev/file-op-9p.h | 2 + fsdev/p9array.h | 160 +++++++++++++++++++++++++++++++++++++++++++++ hw/9pfs/9p.c | 19 ++---- 5 files changed, 174 insertions(+), 12 deletions(-) create mode 100644 fsdev/p9array.h
Signature · 1 line
2.20.1