Hi Greg, this is the rebased version of the patch series adding support for building the 9p server on Darwin. As you know a number of patches from the v2 version of this series are already landed. This is the remaining patches. Other than rebasing, there is onnly one minor change in patch 11.
Keno Keno Fischer (13): 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: Explicitly cast comparisons of mode_t with -1 9p: darwin: Ignore O_{NOATIME, DIRECT} 9p: darwin: Provide a compatibility definition for XATTR_SIZE_MAX 9p: darwin: *xattr_nofollow implementations 9p: darwin: Compatibility for f/l*xattr 9p: darwin: Provide a fallback implementation for utimensat 9p: darwin: Implement compatibility for mknodat 9p: darwin: virtfs-proxy: Implement setuid code for darwin 9p: darwin: configure: Allow VirtFS on Darwin Makefile | 6 ++ Makefile.objs | 1 + configure | 22 +++-- fsdev/file-op-9p.h | 2 +- fsdev/virtfs-proxy-helper.c | 230 ++++++++++++++++++++++++++++---------------- hw/9pfs/9p-local.c | 25 +++-- hw/9pfs/9p-proxy.c | 17 +++- hw/9pfs/9p-synth.c | 4 + hw/9pfs/9p-util-darwin.c | 191 ++++++++++++++++++++++++++++++++++++ hw/9pfs/9p-util-linux.c | 70 ++++++++++++++ hw/9pfs/9p-util.c | 59 ------------ hw/9pfs/9p-util.h | 27 ++++++ hw/9pfs/9p.c | 71 ++++++++++++-- hw/9pfs/Makefile.objs | 4 +- include/qemu/statfs.h | 19 ++++ include/qemu/xattr.h | 4 +- 16 files changed, 579 insertions(+), 173 deletions(-) create mode 100644 hw/9pfs/9p-util-darwin.c create mode 100644 hw/9pfs/9p-util-linux.c delete mode 100644 hw/9pfs/9p-util.c create mode 100644 include/qemu/statfs.h -- 2.8.1