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

Christian Schoenebeck posted 6 patches 3 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1650889268.git.qemu._5Foss@crudebyte.com
Maintainers: Greg Kurz <groug@kaod.org>, Christian Schoenebeck <qemu_oss@crudebyte.com>
There is a newer version of this series
hw/9pfs/9p-posix-acl.c   | 12 +++++--
hw/9pfs/9p-util-darwin.c | 46 +++++++++++++++++++++++++--
hw/9pfs/9p-util.h        | 69 ++++++++++++++++++++++++++++++++++++++++
hw/9pfs/9p.c             |  4 ++-
4 files changed, 126 insertions(+), 5 deletions(-)
[PATCH v3 0/6] 9pfs: macOS host fixes
Posted by Christian Schoenebeck 3 years, 9 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/

v2 -> v3:

  * Explicit check whether filename fits into addr.sun_path. [patch 2]

  * s/close/close_preserve_errno/ [patch 2]

  * Fix qemu_mknodat() from having returned a negative result != -1
    on error and not having set errno. [NEW patch 6]

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 | 46 +++++++++++++++++++++++++--
 hw/9pfs/9p-util.h        | 69 ++++++++++++++++++++++++++++++++++++++++
 hw/9pfs/9p.c             |  4 ++-
 4 files changed, 126 insertions(+), 5 deletions(-)

-- 
2.32.0 (Apple Git-132)