You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/fsdev
Mark Johnston 6657f3bb55 9pfs: Add FreeBSD support
This is largely derived from existing Darwin support.  FreeBSD
apparently has better support for *at() system calls so doesn't require
workarounds for a missing mknodat().  The implementation has a couple of
warts however:
- The extattr(2) system calls don't support anything akin to
  XATTR_CREATE or XATTR_REPLACE, so a racy workaround is implemented.
- Attribute names cannot begin with "user." or "system." on ZFS.
  However FreeBSD's extattr(2) system calls support two dedicated
  namespaces for these two.  So "user." or "system." prefixes are
  trimmed off from attribute names and instead EXTATTR_NAMESPACE_USER or
  EXTATTR_NAMESPACE_SYSTEM are picked and passed to extattr system calls
  accordingly.

The 9pfs tests were verified to pass on the UFS, ZFS and tmpfs
filesystems.

Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Link: https://lore.kernel.org/qemu-devel/aJOWhHB2p-fbueAm@nuc
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
2 weeks ago
..
9p-iov-marshal.c fsdep/9p: fix -Werror=maybe-uninitialized false-positive 1 year ago
9p-iov-marshal.h Clean up ill-advised or unusual header guards 9 years ago
9p-marshal.c fsdev/9p-marshal: move G_GNUC_PRINTF to header 3 months ago
9p-marshal.h fsdev/9p-marshal: move G_GNUC_PRINTF to header 3 months ago
file-op-9p.h 9pfs: Add FreeBSD support 2 weeks ago
meson.build 9pfs: Add FreeBSD support 2 weeks ago
p9array.h Don't include headers already included by qemu/osdep.h 3 years ago
qemu-fsdev-dummy.c Include qemu/module.h where needed, drop it from qemu-common.h 6 years ago
qemu-fsdev-opts.c 9p: Added virtfs option 'multidevs=remap|forbid|warn' 6 years ago
qemu-fsdev-throttle.c fsdev: Use ThrottleDirection instread of bool is_write 2 years ago
qemu-fsdev-throttle.h fsdev: Use ThrottleDirection instread of bool is_write 2 years ago
qemu-fsdev.c 9p: remove 'proxy' filesystem backend driver 1 year ago
qemu-fsdev.h 9p: remove 'proxy' filesystem backend driver 1 year ago