From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: "Will Cohen" <wwcohen@gmail.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Greg Kurz" <groug@kaod.org>,
hi@alyssa.is, "Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH v7 00/11] 9p: Add support for darwin
Date: Fri, 18 Feb 2022 18:45:41 +0100 [thread overview]
Message-ID: <24928693.zZ8iTCSeN7@silver> (raw)
In-Reply-To: <CAB26zV1v+bL4FskfRbpU5kWqRBxg4wKJBVXXsWnNzJo31_9O_A@mail.gmail.com>
On Freitag, 18. Februar 2022 18:04:24 CET Will Cohen wrote:
> On Tue, Feb 15, 2022 at 2:04 PM Will Cohen <wwcohen@gmail.com> wrote:
> > This is a followup to
> > https://lists.gnu.org/archive/html/qemu-devel/2022-02/msg02313.html,
> > adding 9p server support for Darwin.
> >
> > Since v6, the following changes have been made to the following patches:
> >
> > Patch 9/11: 9p: darwin: Implement compatibility for mknodat
> > - Add CONFIG_PTHREAD_FCHDIR_NP to meson and check for
> >
> > presence in osdep.h and os-posix.c
> >
> > Keno Fischer (10):
> > 9p: linux: Fix a couple Linux assumptions
> > 9p: Rename 9p-util -> 9p-util-linux
> > 9p: darwin: Handle struct stat(fs) differences
> > 9p: darwin: Handle struct dirent differences
> > 9p: darwin: Ignore O_{NOATIME, DIRECT}
> > 9p: darwin: Move XATTR_SIZE_MAX->P9_XATTR_SIZE_MAX
> > 9p: darwin: *xattr_nofollow implementations
> > 9p: darwin: Compatibility for f/l*xattr
> > 9p: darwin: Implement compatibility for mknodat
> > 9p: darwin: meson: Allow VirtFS on Darwin
> >
> > Will Cohen (1):
> > 9p: darwin: Adjust assumption on virtio-9p-test
> >
> > fsdev/file-op-9p.h | 9 +++-
> > fsdev/meson.build | 1 +
> > hw/9pfs/9p-local.c | 27 ++++++++---
> > hw/9pfs/9p-proxy.c | 38 +++++++++++++--
> > hw/9pfs/9p-synth.c | 6 +++
> > hw/9pfs/9p-util-darwin.c | 64 ++++++++++++++++++++++++++
> > hw/9pfs/{9p-util.c => 9p-util-linux.c} | 2 +-
> > hw/9pfs/9p-util.h | 35 ++++++++++++++
> > hw/9pfs/9p.c | 42 ++++++++++++++---
> > hw/9pfs/9p.h | 18 ++++++++
> > hw/9pfs/codir.c | 4 +-
> > hw/9pfs/meson.build | 3 +-
> > include/qemu/osdep.h | 12 +++++
> > include/qemu/xattr.h | 4 +-
> > meson.build | 15 ++++--
> > os-posix.c | 35 ++++++++++++++
> > tests/qtest/virtio-9p-test.c | 2 +-
> > 17 files changed, 292 insertions(+), 25 deletions(-)
> > create mode 100644 hw/9pfs/9p-util-darwin.c
> > rename hw/9pfs/{9p-util.c => 9p-util-linux.c} (97%)
> >
> > --
> > 2.34.1
>
> As a brief additional note, this patch set has gotten a moderate amount of
> performance testing downstream by various end users of podman, with
> favorable results:
> https://github.com/containers/podman/issues/8016#issuecomment-1044843948
Thanks for sharing!
Additionally you might be interested to know what's pending in the pipeline on
Linux kernel side which brings a huge performance improvement with 9p:
https://lore.kernel.org/netdev/cover.1640870037.git.linux_oss@crudebyte.com/
As for the status on this macOS series here: I will get back on it next week.
From my PoV it looks fine now. So for the other gentlemen here: please raise
your hand if you still find something.
Will, one more thing though: I just sent a PR with one particular patch that I
would ask you to test in conjunction with this series:
https://github.com/cschoenebeck/qemu/commit/e64e27d5cb103b7764f1a05b6eda7e7fedd517c5
You might simply wait for the PR being merged (maybe monday?) and then rebase
this series to master and test if this patch is not breaking anything for
macOS. Theoretically the new qemu_dirent_dup() function should fallback on
macOS to its portable branch, but it should be tested before merging this
series, just to be sure.
Best regards,
Christian Schoenebeck
next prev parent reply other threads:[~2022-02-18 17:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 19:04 [PATCH v7 00/11] 9p: Add support for darwin Will Cohen
2022-02-15 19:04 ` [PATCH v7 01/11] 9p: linux: Fix a couple Linux assumptions Will Cohen
2022-02-15 19:04 ` [PATCH v7 02/11] 9p: Rename 9p-util -> 9p-util-linux Will Cohen
2022-02-15 19:04 ` [PATCH v7 03/11] 9p: darwin: Handle struct stat(fs) differences Will Cohen
2022-02-15 19:04 ` [PATCH v7 04/11] 9p: darwin: Handle struct dirent differences Will Cohen
2022-02-15 19:04 ` [PATCH v7 05/11] 9p: darwin: Ignore O_{NOATIME, DIRECT} Will Cohen
2022-02-15 19:04 ` [PATCH v7 06/11] 9p: darwin: Move XATTR_SIZE_MAX->P9_XATTR_SIZE_MAX Will Cohen
2022-02-15 19:04 ` [PATCH v7 07/11] 9p: darwin: *xattr_nofollow implementations Will Cohen
2022-02-15 19:04 ` [PATCH v7 08/11] 9p: darwin: Compatibility for f/l*xattr Will Cohen
2022-02-15 19:04 ` [PATCH v7 09/11] 9p: darwin: Implement compatibility for mknodat Will Cohen
2022-02-15 19:04 ` [PATCH v7 10/11] 9p: darwin: Adjust assumption on virtio-9p-test Will Cohen
2022-02-15 19:04 ` [PATCH v7 11/11] 9p: darwin: meson: Allow VirtFS on Darwin Will Cohen
2022-02-18 17:04 ` [PATCH v7 00/11] 9p: Add support for darwin Will Cohen
2022-02-18 17:45 ` Christian Schoenebeck [this message]
2022-02-18 17:53 ` Will Cohen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24928693.zZ8iTCSeN7@silver \
--to=qemu_oss@crudebyte.com \
--cc=f4bug@amsat.org \
--cc=groug@kaod.org \
--cc=hi@alyssa.is \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=wwcohen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).