[PATCH v5 0/6] 9pfs: macOS host fixes

Christian Schoenebeck posted 6 patches 1 year, 11 months ago
hw/9pfs/9p-posix-acl.c   | 12 +++++--
hw/9pfs/9p-util-darwin.c | 54 +++++++++++++++++++++++++++++--
hw/9pfs/9p-util.h        | 69 ++++++++++++++++++++++++++++++++++++++++
hw/9pfs/9p.c             |  4 ++-
4 files changed, 134 insertions(+), 5 deletions(-)
[PATCH v5 0/6] 9pfs: macOS host fixes
Posted by Christian Schoenebeck 1 year, 11 months ago
A bunch of fixes for recently (in QEMU 7.0) added 9p support on macOS hosts.

Note: there are still issues to address with case-insensitive file systems
on macOS hosts. I sent a separate RFC on that icase issue:
https://lore.kernel.org/qemu-devel/1757498.AyhHxzoH2B@silver/

v4 -> v5:

  * Check return value of snprintf() instead of strlen(filename).
    [patch 2]

Christian Schoenebeck (6):
  9pfs: fix qemu_mknodat(S_IFREG) on macOS
  9pfs: fix qemu_mknodat(S_IFSOCK) on macOS
  9pfs: fix wrong encoding of rdev field in Rgetattr on macOS
  9pfs: fix wrong errno being sent to Linux client on macOS host
  9pfs: fix removing non-existent POSIX ACL xattr on macOS host
  9pfs: fix qemu_mknodat() to always return -1 on error on macOS host

 hw/9pfs/9p-posix-acl.c   | 12 +++++--
 hw/9pfs/9p-util-darwin.c | 54 +++++++++++++++++++++++++++++--
 hw/9pfs/9p-util.h        | 69 ++++++++++++++++++++++++++++++++++++++++
 hw/9pfs/9p.c             |  4 ++-
 4 files changed, 134 insertions(+), 5 deletions(-)

-- 
2.32.0 (Apple Git-132)
Re: [PATCH v5 0/6] 9pfs: macOS host fixes (resend)
Posted by Christian Schoenebeck 1 year, 11 months ago
On Freitag, 29. April 2022 12:26:40 CEST Christian Schoenebeck wrote:
> A bunch of fixes for recently (in QEMU 7.0) added 9p support on macOS hosts.
> 
> Note: there are still issues to address with case-insensitive file systems
> on macOS hosts. I sent a separate RFC on that icase issue:
> https://lore.kernel.org/qemu-devel/1757498.AyhHxzoH2B@silver/
> 
> v4 -> v5:
> 
>   * Check return value of snprintf() instead of strlen(filename).
>     [patch 2]
> 
> Christian Schoenebeck (6):
>   9pfs: fix qemu_mknodat(S_IFREG) on macOS
>   9pfs: fix qemu_mknodat(S_IFSOCK) on macOS
>   9pfs: fix wrong encoding of rdev field in Rgetattr on macOS
>   9pfs: fix wrong errno being sent to Linux client on macOS host
>   9pfs: fix removing non-existent POSIX ACL xattr on macOS host
>   9pfs: fix qemu_mknodat() to always return -1 on error on macOS host
> 
>  hw/9pfs/9p-posix-acl.c   | 12 +++++--
>  hw/9pfs/9p-util-darwin.c | 54 +++++++++++++++++++++++++++++--
>  hw/9pfs/9p-util.h        | 69 ++++++++++++++++++++++++++++++++++++++++
>  hw/9pfs/9p.c             |  4 ++-
>  4 files changed, 134 insertions(+), 5 deletions(-)

Queued on 9p.next:
https://github.com/cschoenebeck/qemu/commits/9p.next

Thanks!

I just sent a PR:
https://lore.kernel.org/all/cover.1651319081.git.qemu_oss@crudebyte.com/

Best regards,
Christian Schoenebeck


[Resent this message due to mail delivery error from nongnu.org lists]