On Freitag, 1. Oktober 2021 16:25:22 CEST Christian Schoenebeck wrote:
> 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
Queued on 9p.next:
https://github.com/cschoenebeck/qemu/commits/9p.next
Thanks!
Best regards,
Christian Schoenebeck
Best regards,
Christian Schoenebeck