mbox series

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

Message ID cover.1651228000.git.qemu_oss@crudebyte.com (mailing list archive)
Headers show
Series 9pfs: macOS host fixes | expand

Message

Christian Schoenebeck April 29, 2022, 10:26 a.m. UTC
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(-)

Comments

Christian Schoenebeck April 30, 2022, 12:23 p.m. UTC | #1
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]